[vFW_CNF_CDS] Minor updates after review
[integration.git] / docs / files / vFW_CNF_CDS / status-response.json
1 {
2   "request": {
3     "rb-name": "vfw",
4     "rb-version": "plugin_test",
5     "profile-name": "test_profile",
6     "release-name": "",
7     "cloud-region": "kud",
8     "labels": {
9       "testCaseName": "plugin_fw.sh"
10     },
11     "override-values": {
12       "global.onapPrivateNetworkName": "onap-private-net-test"
13     }
14   },
15   "ready": false,
16   "resourceCount": 12,
17   "resourcesStatus": [
18     {
19       "name": "sink-configmap",
20       "GVK": {
21         "Group": "",
22         "Version": "v1",
23         "Kind": "ConfigMap"
24       },
25       "status": {
26         "apiVersion": "v1",
27         "data": {
28           "protected_net_gw": "192.168.20.100",
29           "protected_private_net_cidr": "192.168.10.0/24"
30         },
31         "kind": "ConfigMap",
32         "metadata": {
33           "creationTimestamp": "2020-09-29T13:36:25Z",
34           "labels": {
35             "k8splugin.io/rb-instance-id": "practical_nobel"
36           },
37           "name": "sink-configmap",
38           "namespace": "plugin-tests-namespace",
39           "resourceVersion": "10720771",
40           "selfLink": "/api/v1/namespaces/plugin-tests-namespace/configmaps/sink-configmap",
41           "uid": "46c8bec4-980c-455b-9eb0-fb84ac8cc450"
42         }
43       }
44     },
45     {
46       "name": "packetgen-service",
47       "GVK": {
48         "Group": "",
49         "Version": "v1",
50         "Kind": "Service"
51       },
52       "status": {
53         "apiVersion": "v1",
54         "kind": "Service",
55         "metadata": {
56           "creationTimestamp": "2020-09-29T13:36:25Z",
57           "labels": {
58             "app": "packetgen",
59             "chart": "packetgen",
60             "k8splugin.io/rb-instance-id": "practical_nobel",
61             "release": "test-release"
62           },
63           "name": "packetgen-service",
64           "namespace": "plugin-tests-namespace",
65           "resourceVersion": "10720776",
66           "selfLink": "/api/v1/namespaces/plugin-tests-namespace/services/packetgen-service",
67           "uid": "5e1c27c8-1db8-4883-a3a2-6f4e98e2f48b"
68         },
69         "spec": {
70           "clusterIP": "10.244.8.190",
71           "externalTrafficPolicy": "Cluster",
72           "ports": [
73             {
74               "nodePort": 30831,
75               "port": 2831,
76               "protocol": "TCP",
77               "targetPort": 2831
78             }
79           ],
80           "selector": {
81             "app": "packetgen",
82             "release": "test-release"
83           },
84           "sessionAffinity": "None",
85           "type": "NodePort"
86         },
87         "status": {
88           "loadBalancer": {}
89         }
90       }
91     },
92     {
93       "name": "sink-service",
94       "GVK": {
95         "Group": "",
96         "Version": "v1",
97         "Kind": "Service"
98       },
99       "status": {
100         "apiVersion": "v1",
101         "kind": "Service",
102         "metadata": {
103           "creationTimestamp": "2020-09-29T13:36:25Z",
104           "labels": {
105             "app": "sink",
106             "chart": "sink",
107             "k8splugin.io/rb-instance-id": "practical_nobel",
108             "release": "test-release"
109           },
110           "name": "sink-service",
111           "namespace": "plugin-tests-namespace",
112           "resourceVersion": "10720780",
113           "selfLink": "/api/v1/namespaces/plugin-tests-namespace/services/sink-service",
114           "uid": "789a14fe-1246-4cdd-ba9a-359240ba614f"
115         },
116         "spec": {
117           "clusterIP": "10.244.2.4",
118           "externalTrafficPolicy": "Cluster",
119           "ports": [
120             {
121               "nodePort": 30667,
122               "port": 667,
123               "protocol": "TCP",
124               "targetPort": 667
125             }
126           ],
127           "selector": {
128             "app": "sink",
129             "release": "test-release"
130           },
131           "sessionAffinity": "None",
132           "type": "NodePort"
133         },
134         "status": {
135           "loadBalancer": {}
136         }
137       }
138     },
139     {
140       "name": "test-release-packetgen",
141       "GVK": {
142         "Group": "apps",
143         "Version": "v1",
144         "Kind": "Deployment"
145       },
146       "status": {
147         "apiVersion": "apps/v1",
148         "kind": "Deployment",
149         "metadata": {
150           "annotations": {
151             "deployment.kubernetes.io/revision": "1"
152           },
153           "creationTimestamp": "2020-09-29T13:36:25Z",
154           "generation": 1,
155           "labels": {
156             "app": "packetgen",
157             "chart": "packetgen",
158             "k8splugin.io/rb-instance-id": "practical_nobel",
159             "release": "test-release"
160           },
161           "name": "test-release-packetgen",
162           "namespace": "plugin-tests-namespace",
163           "resourceVersion": "10720804",
164           "selfLink": "/apis/apps/v1/namespaces/plugin-tests-namespace/deployments/test-release-packetgen",
165           "uid": "42578e9f-7c88-46d6-94f7-a7bcc8e69ec6"
166         },
167         "spec": {
168           "progressDeadlineSeconds": 600,
169           "replicas": 1,
170           "revisionHistoryLimit": 10,
171           "selector": {
172             "matchLabels": {
173               "app": "packetgen",
174               "release": "test-release"
175             }
176           },
177           "strategy": {
178             "rollingUpdate": {
179               "maxSurge": "25%",
180               "maxUnavailable": "25%"
181             },
182             "type": "RollingUpdate"
183           },
184           "template": {
185             "metadata": {
186               "annotations": {
187                 "VirtletCloudInitUserData": "ssh_pwauth: True\nusers:\n- name: admin\n  gecos: User\n  primary-group: admin\n  groups: users\n  sudo: ALL=(ALL) NOPASSWD:ALL\n  lock_passwd: false\n  passwd: \"$6$rounds=4096$QA5OCKHTE41$jRACivoPMJcOjLRgxl3t.AMfU7LhCFwOWv2z66CQX.TSxBy50JoYtycJXSPr2JceG.8Tq/82QN9QYt3euYEZW/\"\nruncmd:\n  - export demo_artifacts_version=1.5.0\n  - export vfw_private_ip_0=192.168.10.3\n  - export vsn_private_ip_0=192.168.20.3\n  - export protected_net_cidr=192.168.20.0/24\n  - export dcae_collector_ip=10.0.4.1\n  - export dcae_collector_port=8081\n  - export protected_net_gw=192.168.20.100/24\n  - export protected_private_net_cidr=192.168.10.0/24\n  - wget -O - https://git.onap.org/multicloud/k8s/plain/kud/tests/vFW/packetgen | sudo -E bash\n",
188                 "VirtletLibvirtCPUSetting": "mode: host-model\n",
189                 "VirtletRootVolumeSize": "5Gi",
190                 "app": "packetgen",
191                 "k8s.plugin.opnfv.org/nfn-network": "{ \"type\": \"ovn4nfv\", \"interface\":[ { \"name\": \"unprotected-private-net\", \"ipAddress\": \"192.168.10.2\", \"interface\": \"eth1\" , \"defaultGateway\": \"false\"}, { \"name\": \"onap-private-net-test\", \"ipAddress\": \"10.0.100.2\", \"interface\": \"eth2\" , \"defaultGateway\": \"false\"} ]}",
192                 "k8s.v1.cni.cncf.io/networks": "[{\"name\": \"ovn-networkobj\", \"namespace\": \"default\"}]",
193                 "kubernetes.io/target-runtime": "virtlet.cloud",
194                 "release": "test-release"
195               },
196               "creationTimestamp": null,
197               "labels": {
198                 "app": "packetgen",
199                 "k8splugin.io/rb-instance-id": "practical_nobel",
200                 "release": "test-release"
201               }
202             },
203             "spec": {
204               "affinity": {
205                 "nodeAffinity": {
206                   "requiredDuringSchedulingIgnoredDuringExecution": {
207                     "nodeSelectorTerms": [
208                       {
209                         "matchExpressions": [
210                           {
211                             "key": "extraRuntime",
212                             "operator": "In",
213                             "values": [
214                               "virtlet"
215                             ]
216                           }
217                         ]
218                       }
219                     ]
220                   }
221                 }
222               },
223               "containers": [
224                 {
225                   "image": "virtlet.cloud/ubuntu/16.04:latest",
226                   "imagePullPolicy": "IfNotPresent",
227                   "name": "packetgen",
228                   "resources": {
229                     "limits": {
230                       "memory": "4Gi"
231                     }
232                   },
233                   "stdin": true,
234                   "terminationMessagePath": "/dev/termination-log",
235                   "terminationMessagePolicy": "File",
236                   "tty": true
237                 }
238               ],
239               "dnsPolicy": "ClusterFirst",
240               "restartPolicy": "Always",
241               "schedulerName": "default-scheduler",
242               "securityContext": {},
243               "terminationGracePeriodSeconds": 30
244             }
245           }
246         },
247         "status": {
248           "conditions": [
249             {
250               "lastTransitionTime": "2020-09-29T13:36:25Z",
251               "lastUpdateTime": "2020-09-29T13:36:25Z",
252               "message": "Deployment does not have minimum availability.",
253               "reason": "MinimumReplicasUnavailable",
254               "status": "False",
255               "type": "Available"
256             },
257             {
258               "lastTransitionTime": "2020-09-29T13:36:25Z",
259               "lastUpdateTime": "2020-09-29T13:36:25Z",
260               "message": "ReplicaSet \"test-release-packetgen-5647bfb56\" is progressing.",
261               "reason": "ReplicaSetUpdated",
262               "status": "True",
263               "type": "Progressing"
264             }
265           ],
266           "observedGeneration": 1,
267           "replicas": 1,
268           "unavailableReplicas": 1,
269           "updatedReplicas": 1
270         }
271       }
272     },
273     {
274       "name": "test-release-sink",
275       "GVK": {
276         "Group": "apps",
277         "Version": "v1",
278         "Kind": "Deployment"
279       },
280       "status": {
281         "apiVersion": "apps/v1",
282         "kind": "Deployment",
283         "metadata": {
284           "annotations": {
285             "deployment.kubernetes.io/revision": "1"
286           },
287           "creationTimestamp": "2020-09-29T13:36:25Z",
288           "generation": 1,
289           "labels": {
290             "app": "sink",
291             "chart": "sink",
292             "k8splugin.io/rb-instance-id": "practical_nobel",
293             "release": "test-release"
294           },
295           "name": "test-release-sink",
296           "namespace": "plugin-tests-namespace",
297           "resourceVersion": "10720857",
298           "selfLink": "/apis/apps/v1/namespaces/plugin-tests-namespace/deployments/test-release-sink",
299           "uid": "1f50eecf-c924-4434-be87-daf7c64b6506"
300         },
301         "spec": {
302           "progressDeadlineSeconds": 600,
303           "replicas": 1,
304           "revisionHistoryLimit": 10,
305           "selector": {
306             "matchLabels": {
307               "app": "sink",
308               "release": "test-release"
309             }
310           },
311           "strategy": {
312             "rollingUpdate": {
313               "maxSurge": "25%",
314               "maxUnavailable": "25%"
315             },
316             "type": "RollingUpdate"
317           },
318           "template": {
319             "metadata": {
320               "annotations": {
321                 "k8s.plugin.opnfv.org/nfn-network": "{ \"type\": \"ovn4nfv\", \"interface\": [ { \"name\": \"protected-private-net\", \"ipAddress\": \"192.168.20.3\", \"interface\": \"eth1\", \"defaultGateway\": \"false\" }, { \"name\": \"onap-private-net-test\", \"ipAddress\": \"10.10.100.4\", \"interface\": \"eth2\" , \"defaultGateway\": \"false\"} ]}",
322                 "k8s.v1.cni.cncf.io/networks": "[{\"name\": \"ovn-networkobj\", \"namespace\": \"default\"}]"
323               },
324               "creationTimestamp": null,
325               "labels": {
326                 "app": "sink",
327                 "k8splugin.io/rb-instance-id": "practical_nobel",
328                 "release": "test-release"
329               }
330             },
331             "spec": {
332               "containers": [
333                 {
334                   "envFrom": [
335                     {
336                       "configMapRef": {
337                         "name": "sink-configmap"
338                       }
339                     }
340                   ],
341                   "image": "rtsood/onap-vfw-demo-sink:0.2.0",
342                   "imagePullPolicy": "IfNotPresent",
343                   "name": "sink",
344                   "resources": {},
345                   "securityContext": {
346                     "privileged": true
347                   },
348                   "stdin": true,
349                   "terminationMessagePath": "/dev/termination-log",
350                   "terminationMessagePolicy": "File",
351                   "tty": true
352                 },
353                 {
354                   "image": "electrocucaracha/darkstat:latest",
355                   "imagePullPolicy": "IfNotPresent",
356                   "name": "darkstat",
357                   "ports": [
358                     {
359                       "containerPort": 667,
360                       "protocol": "TCP"
361                     }
362                   ],
363                   "resources": {},
364                   "stdin": true,
365                   "terminationMessagePath": "/dev/termination-log",
366                   "terminationMessagePolicy": "File",
367                   "tty": true
368                 }
369               ],
370               "dnsPolicy": "ClusterFirst",
371               "restartPolicy": "Always",
372               "schedulerName": "default-scheduler",
373               "securityContext": {},
374               "terminationGracePeriodSeconds": 30
375             }
376           }
377         },
378         "status": {
379           "availableReplicas": 1,
380           "conditions": [
381             {
382               "lastTransitionTime": "2020-09-29T13:36:33Z",
383               "lastUpdateTime": "2020-09-29T13:36:33Z",
384               "message": "Deployment has minimum availability.",
385               "reason": "MinimumReplicasAvailable",
386               "status": "True",
387               "type": "Available"
388             },
389             {
390               "lastTransitionTime": "2020-09-29T13:36:25Z",
391               "lastUpdateTime": "2020-09-29T13:36:33Z",
392               "message": "ReplicaSet \"test-release-sink-6546c4f698\" has successfully progressed.",
393               "reason": "NewReplicaSetAvailable",
394               "status": "True",
395               "type": "Progressing"
396             }
397           ],
398           "observedGeneration": 1,
399           "readyReplicas": 1,
400           "replicas": 1,
401           "updatedReplicas": 1
402         }
403       }
404     },
405     {
406       "name": "test-release-firewall",
407       "GVK": {
408         "Group": "apps",
409         "Version": "v1",
410         "Kind": "Deployment"
411       },
412       "status": {
413         "apiVersion": "apps/v1",
414         "kind": "Deployment",
415         "metadata": {
416           "annotations": {
417             "deployment.kubernetes.io/revision": "1"
418           },
419           "creationTimestamp": "2020-09-29T13:36:25Z",
420           "generation": 1,
421           "labels": {
422             "app": "firewall",
423             "chart": "firewall",
424             "k8splugin.io/rb-instance-id": "practical_nobel",
425             "release": "test-release"
426           },
427           "name": "test-release-firewall",
428           "namespace": "plugin-tests-namespace",
429           "resourceVersion": "10720823",
430           "selfLink": "/apis/apps/v1/namespaces/plugin-tests-namespace/deployments/test-release-firewall",
431           "uid": "77392f60-7d12-4846-8edb-f4a65a4be098"
432         },
433         "spec": {
434           "progressDeadlineSeconds": 600,
435           "replicas": 1,
436           "revisionHistoryLimit": 10,
437           "selector": {
438             "matchLabels": {
439               "app": "firewall",
440               "release": "test-release"
441             }
442           },
443           "strategy": {
444             "rollingUpdate": {
445               "maxSurge": "25%",
446               "maxUnavailable": "25%"
447             },
448             "type": "RollingUpdate"
449           },
450           "template": {
451             "metadata": {
452               "annotations": {
453                 "VirtletCloudInitUserData": "ssh_pwauth: True\nusers:\n- name: admin\n  gecos: User\n  primary-group: admin\n  groups: users\n  sudo: ALL=(ALL) NOPASSWD:ALL\n  lock_passwd: false\n  passwd: \"$6$rounds=4096$QA5OCKHTE41$jRACivoPMJcOjLRgxl3t.AMfU7LhCFwOWv2z66CQX.TSxBy50JoYtycJXSPr2JceG.8Tq/82QN9QYt3euYEZW/\"\nruncmd:\n  - export demo_artifacts_version=1.5.0\n  - export vfw_private_ip_0=192.168.10.3\n  - export vsn_private_ip_0=192.168.20.3\n  - export protected_net_cidr=192.168.20.0/24\n  - export dcae_collector_ip=10.0.4.1\n  - export dcae_collector_port=8081\n  - export protected_net_gw=192.168.20.100/24\n  - export protected_private_net_cidr=192.168.10.0/24\n  - wget -O - https://git.onap.org/multicloud/k8s/plain/kud/tests/vFW/firewall | sudo -E bash\n",
454                 "VirtletLibvirtCPUSetting": "mode: host-model\n",
455                 "VirtletRootVolumeSize": "5Gi",
456                 "k8s.plugin.opnfv.org/nfn-network": "{ \"type\": \"ovn4nfv\", \"interface\": [ { \"name\": \"unprotected-private-net\", \"ipAddress\": \"192.168.10.3\", \"interface\": \"eth1\" , \"defaultGateway\": \"false\"}, { \"name\": \"protected-private-net\", \"ipAddress\": \"192.168.20.2\", \"interface\": \"eth2\", \"defaultGateway\": \"false\" }, { \"name\": \"onap-private-net-test\", \"ipAddress\": \"10.10.100.3\", \"interface\": \"eth3\" , \"defaultGateway\": \"false\"} ]}",
457                 "k8s.v1.cni.cncf.io/networks": "[{\"name\": \"ovn-networkobj\", \"namespace\": \"default\"}]",
458                 "kubernetes.io/target-runtime": "virtlet.cloud"
459               },
460               "creationTimestamp": null,
461               "labels": {
462                 "app": "firewall",
463                 "k8splugin.io/rb-instance-id": "practical_nobel",
464                 "release": "test-release"
465               }
466             },
467             "spec": {
468               "affinity": {
469                 "nodeAffinity": {
470                   "requiredDuringSchedulingIgnoredDuringExecution": {
471                     "nodeSelectorTerms": [
472                       {
473                         "matchExpressions": [
474                           {
475                             "key": "extraRuntime",
476                             "operator": "In",
477                             "values": [
478                               "virtlet"
479                             ]
480                           }
481                         ]
482                       }
483                     ]
484                   }
485                 }
486               },
487               "containers": [
488                 {
489                   "image": "virtlet.cloud/ubuntu/16.04:latest",
490                   "imagePullPolicy": "IfNotPresent",
491                   "name": "firewall",
492                   "resources": {
493                     "limits": {
494                       "memory": "4Gi"
495                     }
496                   },
497                   "stdin": true,
498                   "terminationMessagePath": "/dev/termination-log",
499                   "terminationMessagePolicy": "File",
500                   "tty": true
501                 }
502               ],
503               "dnsPolicy": "ClusterFirst",
504               "restartPolicy": "Always",
505               "schedulerName": "default-scheduler",
506               "securityContext": {},
507               "terminationGracePeriodSeconds": 30
508             }
509           }
510         },
511         "status": {
512           "conditions": [
513             {
514               "lastTransitionTime": "2020-09-29T13:36:25Z",
515               "lastUpdateTime": "2020-09-29T13:36:25Z",
516               "message": "Deployment does not have minimum availability.",
517               "reason": "MinimumReplicasUnavailable",
518               "status": "False",
519               "type": "Available"
520             },
521             {
522               "lastTransitionTime": "2020-09-29T13:36:25Z",
523               "lastUpdateTime": "2020-09-29T13:36:25Z",
524               "message": "ReplicaSet \"test-release-firewall-5bf9995f5f\" is progressing.",
525               "reason": "ReplicaSetUpdated",
526               "status": "True",
527               "type": "Progressing"
528             }
529           ],
530           "observedGeneration": 1,
531           "replicas": 1,
532           "unavailableReplicas": 1,
533           "updatedReplicas": 1
534         }
535       }
536     },
537     {
538       "name": "onap-private-net-test",
539       "GVK": {
540         "Group": "k8s.plugin.opnfv.org",
541         "Version": "v1alpha1",
542         "Kind": "Network"
543       },
544       "status": {
545         "apiVersion": "k8s.plugin.opnfv.org/v1alpha1",
546         "kind": "Network",
547         "metadata": {
548           "creationTimestamp": "2020-09-29T13:36:25Z",
549           "finalizers": [
550             "nfnCleanUpNetwork"
551           ],
552           "generation": 2,
553           "labels": {
554             "k8splugin.io/rb-instance-id": "practical_nobel"
555           },
556           "name": "onap-private-net-test",
557           "namespace": "plugin-tests-namespace",
558           "resourceVersion": "10720825",
559           "selfLink": "/apis/k8s.plugin.opnfv.org/v1alpha1/namespaces/plugin-tests-namespace/networks/onap-private-net-test",
560           "uid": "43d413f1-f222-4d98-9ddd-b209d3ade106"
561         },
562         "spec": {
563           "cniType": "ovn4nfv",
564           "dns": {},
565           "ipv4Subnets": [
566             {
567               "gateway": "10.10.0.1/16",
568               "name": "subnet1",
569               "subnet": "10.10.0.0/16"
570             }
571           ]
572         },
573         "status": {
574           "state": "Created"
575         }
576       }
577     },
578     {
579       "name": "protected-private-net",
580       "GVK": {
581         "Group": "k8s.plugin.opnfv.org",
582         "Version": "v1alpha1",
583         "Kind": "Network"
584       },
585       "status": {
586         "apiVersion": "k8s.plugin.opnfv.org/v1alpha1",
587         "kind": "Network",
588         "metadata": {
589           "creationTimestamp": "2020-09-29T13:36:25Z",
590           "finalizers": [
591             "nfnCleanUpNetwork"
592           ],
593           "generation": 2,
594           "labels": {
595             "k8splugin.io/rb-instance-id": "practical_nobel"
596           },
597           "name": "protected-private-net",
598           "namespace": "plugin-tests-namespace",
599           "resourceVersion": "10720827",
600           "selfLink": "/apis/k8s.plugin.opnfv.org/v1alpha1/namespaces/plugin-tests-namespace/networks/protected-private-net",
601           "uid": "75c98944-80b6-4158-afed-8efa7a1075e2"
602         },
603         "spec": {
604           "cniType": "ovn4nfv",
605           "dns": {},
606           "ipv4Subnets": [
607             {
608               "gateway": "192.168.20.100/24",
609               "name": "subnet1",
610               "subnet": "192.168.20.0/24"
611             }
612           ]
613         },
614         "status": {
615           "state": "Created"
616         }
617       }
618     },
619     {
620       "name": "unprotected-private-net",
621       "GVK": {
622         "Group": "k8s.plugin.opnfv.org",
623         "Version": "v1alpha1",
624         "Kind": "Network"
625       },
626       "status": {
627         "apiVersion": "k8s.plugin.opnfv.org/v1alpha1",
628         "kind": "Network",
629         "metadata": {
630           "creationTimestamp": "2020-09-29T13:36:25Z",
631           "finalizers": [
632             "nfnCleanUpNetwork"
633           ],
634           "generation": 2,
635           "labels": {
636             "k8splugin.io/rb-instance-id": "practical_nobel"
637           },
638           "name": "unprotected-private-net",
639           "namespace": "plugin-tests-namespace",
640           "resourceVersion": "10720829",
641           "selfLink": "/apis/k8s.plugin.opnfv.org/v1alpha1/namespaces/plugin-tests-namespace/networks/unprotected-private-net",
642           "uid": "54995c10-bffd-4bb2-bbab-5de266af9456"
643         },
644         "spec": {
645           "cniType": "ovn4nfv",
646           "dns": {},
647           "ipv4Subnets": [
648             {
649               "gateway": "192.168.10.1/24",
650               "name": "subnet1",
651               "subnet": "192.168.10.0/24"
652             }
653           ]
654         },
655         "status": {
656           "state": "Created"
657         }
658       }
659     },
660     {
661       "name": "test-release-firewall-5bf9995f5f-hnvps",
662       "GVK": {
663         "Group": "",
664         "Version": "",
665         "Kind": ""
666       },
667       "status": {
668         "metadata": {
669           "annotations": {
670             "VirtletCloudInitUserData": "ssh_pwauth: True\nusers:\n- name: admin\n  gecos: User\n  primary-group: admin\n  groups: users\n  sudo: ALL=(ALL) NOPASSWD:ALL\n  lock_passwd: false\n  passwd: \"$6$rounds=4096$QA5OCKHTE41$jRACivoPMJcOjLRgxl3t.AMfU7LhCFwOWv2z66CQX.TSxBy50JoYtycJXSPr2JceG.8Tq/82QN9QYt3euYEZW/\"\nruncmd:\n  - export demo_artifacts_version=1.5.0\n  - export vfw_private_ip_0=192.168.10.3\n  - export vsn_private_ip_0=192.168.20.3\n  - export protected_net_cidr=192.168.20.0/24\n  - export dcae_collector_ip=10.0.4.1\n  - export dcae_collector_port=8081\n  - export protected_net_gw=192.168.20.100/24\n  - export protected_private_net_cidr=192.168.10.0/24\n  - wget -O - https://git.onap.org/multicloud/k8s/plain/kud/tests/vFW/firewall | sudo -E bash\n",
671             "VirtletLibvirtCPUSetting": "mode: host-model\n",
672             "VirtletRootVolumeSize": "5Gi",
673             "k8s.plugin.opnfv.org/nfn-network": "{ \"type\": \"ovn4nfv\", \"interface\": [ { \"name\": \"unprotected-private-net\", \"ipAddress\": \"192.168.10.3\", \"interface\": \"eth1\" , \"defaultGateway\": \"false\"}, { \"name\": \"protected-private-net\", \"ipAddress\": \"192.168.20.2\", \"interface\": \"eth2\", \"defaultGateway\": \"false\" }, { \"name\": \"onap-private-net-test\", \"ipAddress\": \"10.10.100.3\", \"interface\": \"eth3\" , \"defaultGateway\": \"false\"} ]}",
674             "k8s.plugin.opnfv.org/ovnInterfaces": "[{\"ip_address\":\"192.168.10.3/24\", \"mac_address\":\"00:00:00:2b:62:71\", \"gateway_ip\": \"192.168.10.1\",\"defaultGateway\":\"false\",\"interface\":\"eth1\"},{\"ip_address\":\"192.168.20.2/24\", \"mac_address\":\"00:00:00:43:d6:f3\", \"gateway_ip\": \"192.168.20.100\",\"defaultGateway\":\"false\",\"interface\":\"eth2\"},{\"ip_address\":\"10.10.100.3/16\", \"mac_address\":\"00:00:00:03:4c:34\", \"gateway_ip\": \"10.10.0.1\",\"defaultGateway\":\"false\",\"interface\":\"eth3\"}]",
675             "k8s.v1.cni.cncf.io/networks": "[{\"name\": \"ovn-networkobj\", \"namespace\": \"default\"}]",
676             "k8s.v1.cni.cncf.io/networks-status": "[{\n    \"name\": \"cni0\",\n    \"interface\": \"virtlet-eth0\",\n    \"ips\": [\n        \"10.244.64.45\"\n    ],\n    \"mac\": \"0a:58:0a:f4:40:2d\",\n    \"default\": true,\n    \"dns\": {}\n},{\n    \"name\": \"ovn4nfv-k8s-plugin\",\n    \"interface\": \"eth3\",\n    \"ips\": [\n        \"192.168.10.3\",\n        \"192.168.20.2\",\n        \"10.10.100.3\"\n    ],\n    \"mac\": \"00:00:00:03:4c:34\",\n    \"dns\": {}\n}]",
677             "kubernetes.io/target-runtime": "virtlet.cloud"
678           },
679           "creationTimestamp": "2020-09-29T13:36:25Z",
680           "generateName": "test-release-firewall-5bf9995f5f-",
681           "labels": {
682             "app": "firewall",
683             "k8splugin.io/rb-instance-id": "practical_nobel",
684             "pod-template-hash": "5bf9995f5f",
685             "release": "test-release"
686           },
687           "name": "test-release-firewall-5bf9995f5f-hnvps",
688           "namespace": "plugin-tests-namespace",
689           "ownerReferences": [
690             {
691               "apiVersion": "apps/v1",
692               "blockOwnerDeletion": true,
693               "controller": true,
694               "kind": "ReplicaSet",
695               "name": "test-release-firewall-5bf9995f5f",
696               "uid": "8d68ff0c-c6f8-426c-8ebc-0ce5b7fb5132"
697             }
698           ],
699           "resourceVersion": "10720850",
700           "selfLink": "/api/v1/namespaces/plugin-tests-namespace/pods/test-release-firewall-5bf9995f5f-hnvps",
701           "uid": "92b169e3-2d25-449d-b029-d47674eb98e6"
702         },
703         "spec": {
704           "affinity": {
705             "nodeAffinity": {
706               "requiredDuringSchedulingIgnoredDuringExecution": {
707                 "nodeSelectorTerms": [
708                   {
709                     "matchExpressions": [
710                       {
711                         "key": "extraRuntime",
712                         "operator": "In",
713                         "values": [
714                           "virtlet"
715                         ]
716                       }
717                     ]
718                   }
719                 ]
720               }
721             }
722           },
723           "containers": [
724             {
725               "image": "virtlet.cloud/ubuntu/16.04:latest",
726               "imagePullPolicy": "IfNotPresent",
727               "name": "firewall",
728               "resources": {
729                 "limits": {
730                   "memory": "4Gi"
731                 },
732                 "requests": {
733                   "memory": "4Gi"
734                 }
735               },
736               "stdin": true,
737               "terminationMessagePath": "/dev/termination-log",
738               "terminationMessagePolicy": "File",
739               "tty": true,
740               "volumeMounts": [
741                 {
742                   "mountPath": "/var/run/secrets/kubernetes.io/serviceaccount",
743                   "name": "default-token-gsh95",
744                   "readOnly": true
745                 }
746               ]
747             }
748           ],
749           "dnsPolicy": "ClusterFirst",
750           "enableServiceLinks": true,
751           "nodeName": "localhost",
752           "priority": 0,
753           "restartPolicy": "Always",
754           "schedulerName": "default-scheduler",
755           "securityContext": {},
756           "serviceAccount": "default",
757           "serviceAccountName": "default",
758           "terminationGracePeriodSeconds": 30,
759           "tolerations": [
760             {
761               "effect": "NoExecute",
762               "key": "node.kubernetes.io/not-ready",
763               "operator": "Exists",
764               "tolerationSeconds": 300
765             },
766             {
767               "effect": "NoExecute",
768               "key": "node.kubernetes.io/unreachable",
769               "operator": "Exists",
770               "tolerationSeconds": 300
771             }
772           ],
773           "volumes": [
774             {
775               "name": "default-token-gsh95",
776               "secret": {
777                 "defaultMode": 420,
778                 "secretName": "default-token-gsh95"
779               }
780             }
781           ]
782         },
783         "status": {
784           "conditions": [
785             {
786               "lastProbeTime": null,
787               "lastTransitionTime": "2020-09-29T13:36:25Z",
788               "status": "True",
789               "type": "Initialized"
790             },
791             {
792               "lastProbeTime": null,
793               "lastTransitionTime": "2020-09-29T13:36:25Z",
794               "message": "containers with unready status: [firewall]",
795               "reason": "ContainersNotReady",
796               "status": "False",
797               "type": "Ready"
798             },
799             {
800               "lastProbeTime": null,
801               "lastTransitionTime": "2020-09-29T13:36:25Z",
802               "message": "containers with unready status: [firewall]",
803               "reason": "ContainersNotReady",
804               "status": "False",
805               "type": "ContainersReady"
806             },
807             {
808               "lastProbeTime": null,
809               "lastTransitionTime": "2020-09-29T13:36:25Z",
810               "status": "True",
811               "type": "PodScheduled"
812             }
813           ],
814           "containerStatuses": [
815             {
816               "image": "virtlet.cloud/ubuntu/16.04:latest",
817               "imageID": "",
818               "lastState": {},
819               "name": "firewall",
820               "ready": false,
821               "restartCount": 0,
822               "state": {
823                 "waiting": {
824                   "reason": "ContainerCreating"
825                 }
826               }
827             }
828           ],
829           "hostIP": "192.168.255.3",
830           "phase": "Pending",
831           "qosClass": "Burstable",
832           "startTime": "2020-09-29T13:36:25Z"
833         }
834       }
835     },
836     {
837       "name": "test-release-packetgen-5647bfb56-ghpbs",
838       "GVK": {
839         "Group": "",
840         "Version": "",
841         "Kind": ""
842       },
843       "status": {
844         "metadata": {
845           "annotations": {
846             "VirtletCloudInitUserData": "ssh_pwauth: True\nusers:\n- name: admin\n  gecos: User\n  primary-group: admin\n  groups: users\n  sudo: ALL=(ALL) NOPASSWD:ALL\n  lock_passwd: false\n  passwd: \"$6$rounds=4096$QA5OCKHTE41$jRACivoPMJcOjLRgxl3t.AMfU7LhCFwOWv2z66CQX.TSxBy50JoYtycJXSPr2JceG.8Tq/82QN9QYt3euYEZW/\"\nruncmd:\n  - export demo_artifacts_version=1.5.0\n  - export vfw_private_ip_0=192.168.10.3\n  - export vsn_private_ip_0=192.168.20.3\n  - export protected_net_cidr=192.168.20.0/24\n  - export dcae_collector_ip=10.0.4.1\n  - export dcae_collector_port=8081\n  - export protected_net_gw=192.168.20.100/24\n  - export protected_private_net_cidr=192.168.10.0/24\n  - wget -O - https://git.onap.org/multicloud/k8s/plain/kud/tests/vFW/packetgen | sudo -E bash\n",
847             "VirtletLibvirtCPUSetting": "mode: host-model\n",
848             "VirtletRootVolumeSize": "5Gi",
849             "app": "packetgen",
850             "k8s.plugin.opnfv.org/nfn-network": "{ \"type\": \"ovn4nfv\", \"interface\":[ { \"name\": \"unprotected-private-net\", \"ipAddress\": \"192.168.10.2\", \"interface\": \"eth1\" , \"defaultGateway\": \"false\"}, { \"name\": \"onap-private-net-test\", \"ipAddress\": \"10.0.100.2\", \"interface\": \"eth2\" , \"defaultGateway\": \"false\"} ]}",
851             "k8s.plugin.opnfv.org/ovnInterfaces": "[{\"ip_address\":\"192.168.10.2/24\", \"mac_address\":\"00:00:00:ed:8c:d1\", \"gateway_ip\": \"192.168.10.1\",\"defaultGateway\":\"false\",\"interface\":\"eth1\"},{\"ip_address\":\"10.0.100.2/16\", \"mac_address\":\"00:00:00:97:31:3f\", \"gateway_ip\": \"10.10.0.1\",\"defaultGateway\":\"false\",\"interface\":\"eth2\"}]",
852             "k8s.v1.cni.cncf.io/networks": "[{\"name\": \"ovn-networkobj\", \"namespace\": \"default\"}]",
853             "k8s.v1.cni.cncf.io/networks-status": "[{\n    \"name\": \"cni0\",\n    \"interface\": \"virtlet-eth0\",\n    \"ips\": [\n        \"10.244.64.44\"\n    ],\n    \"mac\": \"0a:58:0a:f4:40:2c\",\n    \"default\": true,\n    \"dns\": {}\n},{\n    \"name\": \"ovn4nfv-k8s-plugin\",\n    \"interface\": \"eth2\",\n    \"ips\": [\n        \"192.168.10.2\",\n        \"10.0.100.2\"\n    ],\n    \"mac\": \"00:00:00:97:31:3f\",\n    \"dns\": {}\n}]",
854             "kubernetes.io/target-runtime": "virtlet.cloud",
855             "release": "test-release"
856           },
857           "creationTimestamp": "2020-09-29T13:36:25Z",
858           "generateName": "test-release-packetgen-5647bfb56-",
859           "labels": {
860             "app": "packetgen",
861             "k8splugin.io/rb-instance-id": "practical_nobel",
862             "pod-template-hash": "5647bfb56",
863             "release": "test-release"
864           },
865           "name": "test-release-packetgen-5647bfb56-ghpbs",
866           "namespace": "plugin-tests-namespace",
867           "ownerReferences": [
868             {
869               "apiVersion": "apps/v1",
870               "blockOwnerDeletion": true,
871               "controller": true,
872               "kind": "ReplicaSet",
873               "name": "test-release-packetgen-5647bfb56",
874               "uid": "3c227839-04ad-4d16-b9ea-d8f436426de1"
875             }
876           ],
877           "resourceVersion": "10720852",
878           "selfLink": "/api/v1/namespaces/plugin-tests-namespace/pods/test-release-packetgen-5647bfb56-ghpbs",
879           "uid": "74aad8c5-b881-4881-b634-46ad48ccb857"
880         },
881         "spec": {
882           "affinity": {
883             "nodeAffinity": {
884               "requiredDuringSchedulingIgnoredDuringExecution": {
885                 "nodeSelectorTerms": [
886                   {
887                     "matchExpressions": [
888                       {
889                         "key": "extraRuntime",
890                         "operator": "In",
891                         "values": [
892                           "virtlet"
893                         ]
894                       }
895                     ]
896                   }
897                 ]
898               }
899             }
900           },
901           "containers": [
902             {
903               "image": "virtlet.cloud/ubuntu/16.04:latest",
904               "imagePullPolicy": "IfNotPresent",
905               "name": "packetgen",
906               "resources": {
907                 "limits": {
908                   "memory": "4Gi"
909                 },
910                 "requests": {
911                   "memory": "4Gi"
912                 }
913               },
914               "stdin": true,
915               "terminationMessagePath": "/dev/termination-log",
916               "terminationMessagePolicy": "File",
917               "tty": true,
918               "volumeMounts": [
919                 {
920                   "mountPath": "/var/run/secrets/kubernetes.io/serviceaccount",
921                   "name": "default-token-gsh95",
922                   "readOnly": true
923                 }
924               ]
925             }
926           ],
927           "dnsPolicy": "ClusterFirst",
928           "enableServiceLinks": true,
929           "nodeName": "localhost",
930           "priority": 0,
931           "restartPolicy": "Always",
932           "schedulerName": "default-scheduler",
933           "securityContext": {},
934           "serviceAccount": "default",
935           "serviceAccountName": "default",
936           "terminationGracePeriodSeconds": 30,
937           "tolerations": [
938             {
939               "effect": "NoExecute",
940               "key": "node.kubernetes.io/not-ready",
941               "operator": "Exists",
942               "tolerationSeconds": 300
943             },
944             {
945               "effect": "NoExecute",
946               "key": "node.kubernetes.io/unreachable",
947               "operator": "Exists",
948               "tolerationSeconds": 300
949             }
950           ],
951           "volumes": [
952             {
953               "name": "default-token-gsh95",
954               "secret": {
955                 "defaultMode": 420,
956                 "secretName": "default-token-gsh95"
957               }
958             }
959           ]
960         },
961         "status": {
962           "conditions": [
963             {
964               "lastProbeTime": null,
965               "lastTransitionTime": "2020-09-29T13:36:25Z",
966               "status": "True",
967               "type": "Initialized"
968             },
969             {
970               "lastProbeTime": null,
971               "lastTransitionTime": "2020-09-29T13:36:25Z",
972               "message": "containers with unready status: [packetgen]",
973               "reason": "ContainersNotReady",
974               "status": "False",
975               "type": "Ready"
976             },
977             {
978               "lastProbeTime": null,
979               "lastTransitionTime": "2020-09-29T13:36:25Z",
980               "message": "containers with unready status: [packetgen]",
981               "reason": "ContainersNotReady",
982               "status": "False",
983               "type": "ContainersReady"
984             },
985             {
986               "lastProbeTime": null,
987               "lastTransitionTime": "2020-09-29T13:36:25Z",
988               "status": "True",
989               "type": "PodScheduled"
990             }
991           ],
992           "containerStatuses": [
993             {
994               "image": "virtlet.cloud/ubuntu/16.04:latest",
995               "imageID": "",
996               "lastState": {},
997               "name": "packetgen",
998               "ready": false,
999               "restartCount": 0,
1000               "state": {
1001                 "waiting": {
1002                   "reason": "ContainerCreating"
1003                 }
1004               }
1005             }
1006           ],
1007           "hostIP": "192.168.255.3",
1008           "phase": "Pending",
1009           "qosClass": "Burstable",
1010           "startTime": "2020-09-29T13:36:25Z"
1011         }
1012       }
1013     },
1014     {
1015       "name": "test-release-sink-6546c4f698-dv529",
1016       "GVK": {
1017         "Group": "",
1018         "Version": "",
1019         "Kind": ""
1020       },
1021       "status": {
1022         "metadata": {
1023           "annotations": {
1024             "k8s.plugin.opnfv.org/nfn-network": "{ \"type\": \"ovn4nfv\", \"interface\": [ { \"name\": \"protected-private-net\", \"ipAddress\": \"192.168.20.3\", \"interface\": \"eth1\", \"defaultGateway\": \"false\" }, { \"name\": \"onap-private-net-test\", \"ipAddress\": \"10.10.100.4\", \"interface\": \"eth2\" , \"defaultGateway\": \"false\"} ]}",
1025             "k8s.plugin.opnfv.org/ovnInterfaces": "[{\"ip_address\":\"192.168.20.3/24\", \"mac_address\":\"00:00:00:13:40:87\", \"gateway_ip\": \"192.168.20.100\",\"defaultGateway\":\"false\",\"interface\":\"eth1\"},{\"ip_address\":\"10.10.100.4/16\", \"mac_address\":\"00:00:00:49:de:fc\", \"gateway_ip\": \"10.10.0.1\",\"defaultGateway\":\"false\",\"interface\":\"eth2\"}]",
1026             "k8s.v1.cni.cncf.io/networks": "[{\"name\": \"ovn-networkobj\", \"namespace\": \"default\"}]",
1027             "k8s.v1.cni.cncf.io/networks-status": "[{\n    \"name\": \"cni0\",\n    \"interface\": \"eth0\",\n    \"ips\": [\n        \"10.244.64.46\"\n    ],\n    \"mac\": \"0a:58:0a:f4:40:2e\",\n    \"default\": true,\n    \"dns\": {}\n},{\n    \"name\": \"ovn4nfv-k8s-plugin\",\n    \"interface\": \"eth2\",\n    \"ips\": [\n        \"192.168.20.3\",\n        \"10.10.100.4\"\n    ],\n    \"mac\": \"00:00:00:49:de:fc\",\n    \"dns\": {}\n}]"
1028           },
1029           "creationTimestamp": "2020-09-29T13:36:25Z",
1030           "generateName": "test-release-sink-6546c4f698-",
1031           "labels": {
1032             "app": "sink",
1033             "k8splugin.io/rb-instance-id": "practical_nobel",
1034             "pod-template-hash": "6546c4f698",
1035             "release": "test-release"
1036           },
1037           "name": "test-release-sink-6546c4f698-dv529",
1038           "namespace": "plugin-tests-namespace",
1039           "ownerReferences": [
1040             {
1041               "apiVersion": "apps/v1",
1042               "blockOwnerDeletion": true,
1043               "controller": true,
1044               "kind": "ReplicaSet",
1045               "name": "test-release-sink-6546c4f698",
1046               "uid": "72c9da29-af3b-4b5c-a90b-06285ae83429"
1047             }
1048           ],
1049           "resourceVersion": "10720854",
1050           "selfLink": "/api/v1/namespaces/plugin-tests-namespace/pods/test-release-sink-6546c4f698-dv529",
1051           "uid": "a4e24041-65c9-4b86-8f10-a27a4dba26bb"
1052         },
1053         "spec": {
1054           "containers": [
1055             {
1056               "envFrom": [
1057                 {
1058                   "configMapRef": {
1059                     "name": "sink-configmap"
1060                   }
1061                 }
1062               ],
1063               "image": "rtsood/onap-vfw-demo-sink:0.2.0",
1064               "imagePullPolicy": "IfNotPresent",
1065               "name": "sink",
1066               "resources": {},
1067               "securityContext": {
1068                 "privileged": true
1069               },
1070               "stdin": true,
1071               "terminationMessagePath": "/dev/termination-log",
1072               "terminationMessagePolicy": "File",
1073               "tty": true,
1074               "volumeMounts": [
1075                 {
1076                   "mountPath": "/var/run/secrets/kubernetes.io/serviceaccount",
1077                   "name": "default-token-gsh95",
1078                   "readOnly": true
1079                 }
1080               ]
1081             },
1082             {
1083               "image": "electrocucaracha/darkstat:latest",
1084               "imagePullPolicy": "IfNotPresent",
1085               "name": "darkstat",
1086               "ports": [
1087                 {
1088                   "containerPort": 667,
1089                   "protocol": "TCP"
1090                 }
1091               ],
1092               "resources": {},
1093               "stdin": true,
1094               "terminationMessagePath": "/dev/termination-log",
1095               "terminationMessagePolicy": "File",
1096               "tty": true,
1097               "volumeMounts": [
1098                 {
1099                   "mountPath": "/var/run/secrets/kubernetes.io/serviceaccount",
1100                   "name": "default-token-gsh95",
1101                   "readOnly": true
1102                 }
1103               ]
1104             }
1105           ],
1106           "dnsPolicy": "ClusterFirst",
1107           "enableServiceLinks": true,
1108           "nodeName": "localhost",
1109           "priority": 0,
1110           "restartPolicy": "Always",
1111           "schedulerName": "default-scheduler",
1112           "securityContext": {},
1113           "serviceAccount": "default",
1114           "serviceAccountName": "default",
1115           "terminationGracePeriodSeconds": 30,
1116           "tolerations": [
1117             {
1118               "effect": "NoExecute",
1119               "key": "node.kubernetes.io/not-ready",
1120               "operator": "Exists",
1121               "tolerationSeconds": 300
1122             },
1123             {
1124               "effect": "NoExecute",
1125               "key": "node.kubernetes.io/unreachable",
1126               "operator": "Exists",
1127               "tolerationSeconds": 300
1128             }
1129           ],
1130           "volumes": [
1131             {
1132               "name": "default-token-gsh95",
1133               "secret": {
1134                 "defaultMode": 420,
1135                 "secretName": "default-token-gsh95"
1136               }
1137             }
1138           ]
1139         },
1140         "status": {
1141           "conditions": [
1142             {
1143               "lastProbeTime": null,
1144               "lastTransitionTime": "2020-09-29T13:36:25Z",
1145               "status": "True",
1146               "type": "Initialized"
1147             },
1148             {
1149               "lastProbeTime": null,
1150               "lastTransitionTime": "2020-09-29T13:36:33Z",
1151               "status": "True",
1152               "type": "Ready"
1153             },
1154             {
1155               "lastProbeTime": null,
1156               "lastTransitionTime": "2020-09-29T13:36:33Z",
1157               "status": "True",
1158               "type": "ContainersReady"
1159             },
1160             {
1161               "lastProbeTime": null,
1162               "lastTransitionTime": "2020-09-29T13:36:25Z",
1163               "status": "True",
1164               "type": "PodScheduled"
1165             }
1166           ],
1167           "containerStatuses": [
1168             {
1169               "containerID": "docker://87c9af78735400606d70ccd9cd85e2545e43cb3be9c30d4b4fe173da0062dda9",
1170               "image": "electrocucaracha/darkstat:latest",
1171               "imageID": "docker-pullable://electrocucaracha/darkstat@sha256:a6764fcc2e15f6156ac0e56f1d220b98970f2d4da9005bae99fb518cfd2f9c25",
1172               "lastState": {},
1173               "name": "darkstat",
1174               "ready": true,
1175               "restartCount": 0,
1176               "started": true,
1177               "state": {
1178                 "running": {
1179                   "startedAt": "2020-09-29T13:36:33Z"
1180                 }
1181               }
1182             },
1183             {
1184               "containerID": "docker://a004f95e7c7a681c7f400852aade096e3ffd75b7efc64e12e65b4ce1fe326577",
1185               "image": "rtsood/onap-vfw-demo-sink:0.2.0",
1186               "imageID": "docker-pullable://rtsood/onap-vfw-demo-sink@sha256:15b7abb0b67a3804ea5f954254633f996fc99c680b09d86a6cf15c3d7b14ab16",
1187               "lastState": {},
1188               "name": "sink",
1189               "ready": true,
1190               "restartCount": 0,
1191               "started": true,
1192               "state": {
1193                 "running": {
1194                   "startedAt": "2020-09-29T13:36:32Z"
1195                 }
1196               }
1197             }
1198           ],
1199           "hostIP": "192.168.255.3",
1200           "phase": "Running",
1201           "podIP": "10.244.64.46",
1202           "podIPs": [
1203             {
1204               "ip": "10.244.64.46"
1205             }
1206           ],
1207           "qosClass": "BestEffort",
1208           "startTime": "2020-09-29T13:36:25Z"
1209         }
1210       }
1211     }
1212   ]
1213 }