3 Library RequestsLibrary
4 Library OperatingSystem
12 Verify Holmes CL well created
13 ${resp}= Get Request ${clamp_session} /restservices/clds/v1/clds/model-names
14 Should Contain Match ${resp} *HolmesModel1*
15 Should Not Contain Match ${resp} *HolmesModel99*
17 Verify TCA CL well create
18 ${resp}= Get Request ${clamp_session} /restservices/clds/v1/clds/model-names
19 Should Contain Match ${resp} *TCAModel1*
20 Should Not Contain Match ${resp} *TCAModel99*
23 ${resp}= Get Request ${clamp_session} /restservices/clds/v1/clds/model/HolmesModel1
24 Should Contain Match ${resp} *templateHolmes1*
25 Should Contain Match ${resp} *DC2*
26 Should Contain Match ${resp} *DC3*
27 Should Contain Match ${resp} *Policy1*
28 Should Contain Match ${resp} *07e266fc-49ab-4cd7-8378-ca4676f1b9ec*
29 Should Contain Match ${resp} *Migrate*
30 Should Contain Match ${resp} *240*
31 Should Contain Match ${resp} *390*
32 Should Contain Match ${resp} *Logic1*
33 Should Contain Match ${resp} *config Policy Name1*
36 ${resp}= Get Request ${clamp_session} /restservices/clds/v1/clds/model/TCAModel1
37 Should Contain Match ${resp} *templateTCA1*
38 Should Contain Match ${resp} *DESIGN*
39 Should Contain Match ${resp} *vnfRecipe*
40 Should Contain Match ${resp} *DC1*
41 Should Contain Match ${resp} *DC3*
42 Should Contain Match ${resp} *Policy2*
43 Should Contain Match ${resp} *Restart*
44 Should Contain Match ${resp} *280*
45 Should Contain Match ${resp} *400*
48 ${resp}= Get Request ${clamp_session} /restservices/clds/v1/clds/model-names
49 Should Contain Match ${resp} *HolmesModel1*
50 Should Contain Match ${resp} *TCAModel1*
51 Should Not Contain Match ${resp} *TCAModel99*
52 Should Not Contain Match ${resp} *HolmesModel99*