From d571ed23f508d6b2c00235a9f2c0acd9dc9fb121 Mon Sep 17 00:00:00 2001 From: Jerry Flood Date: Wed, 6 Dec 2017 17:05:49 -0500 Subject: Update amsterdam to support vFWCL Issue-ID: TEST-72 Change-Id: I6aefc125480192c9971bbe9f787e12c71fa635e4 Signed-off-by: Jerry Flood --- robot/assets/keys/onap_dev.ppk | 26 +++++++++ robot/assets/keys/onap_dev.pvt | 27 +++++++++ robot/assets/keys/onap_dev_public.pub | 9 +++ robot/assets/keys/onap_dev_public.txt | 1 + robot/assets/service_mappings.py | 26 +++++++-- robot/resources/asdc_interface.robot | 6 +- robot/resources/demo_preload.robot | 27 +++++++-- robot/resources/sdngc_interface.robot | 2 +- .../test_templates/closedloop_test_template.robot | 2 +- .../test_templates/model_test_template.robot | 9 +-- .../vnf_orchestration_test_template.robot | 68 ++++++++++++++++++---- robot/resources/vid/create_vid_vnf.robot | 4 +- robot/testsuites/demo.robot | 3 +- robot/testsuites/vnf-orchestration.robot | 5 +- 14 files changed, 180 insertions(+), 35 deletions(-) create mode 100644 robot/assets/keys/onap_dev.ppk create mode 100644 robot/assets/keys/onap_dev.pvt create mode 100644 robot/assets/keys/onap_dev_public.pub create mode 100644 robot/assets/keys/onap_dev_public.txt (limited to 'robot') diff --git a/robot/assets/keys/onap_dev.ppk b/robot/assets/keys/onap_dev.ppk new file mode 100644 index 00000000..eb84cbe6 --- /dev/null +++ b/robot/assets/keys/onap_dev.ppk @@ -0,0 +1,26 @@ +PuTTY-User-Key-File-2: ssh-rsa +Encryption: none +Comment: imported-openssh-key +Public-Lines: 6 +AAAAB3NzaC1yc2EAAAADAQABAAABAQDKXDgoo3+WOqcUG8/5uUbk81+yczgwC4Y8 +ywTmuQqbNxlY1oQ0YxdMUqUnhitSXs5S/yRuAVOYHwGg2mCs20oAINrP+mxBI544 +AMIb9itPjCtgqtE2EWo6MmnFGbHB4Sx3XioE7F4VPsh7japsIwzOjbrQe+Mua1TG +Q5d4nfEOQaaglXLLPFfuc7Wb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d4ef75fe22b572e5497e5b34853 diff --git a/robot/assets/keys/onap_dev.pvt b/robot/assets/keys/onap_dev.pvt new file mode 100644 index 00000000..81e334a6 --- /dev/null +++ b/robot/assets/keys/onap_dev.pvt @@ -0,0 +1,27 @@ +-----BEGIN RSA PRIVATE KEY----- +MIIEpQIBAAKCAQEAylw4KKN/ljqnFBvP+blG5PNfsnM4MAuGPMsE5rkKmzcZWNaE +NGMXTFKlJ4YrUl7OUv8kbgFTmB8BoNpgrNtKACDaz/psQSOeOADCG/YrT4wrYKrR +NhFqOjJpxRmxweEsd14qBOxeFT7Ie42qbCMMzo260HvjLmtUxkOXeJ3xDkGmoJVy +yzxX7nO1m4WyWyukO6x6mX0XDsADF4A6AapcqinoisJ7pnXaNkcjU/JY2Jrwem7s ++ypzIp86O6gdLpLVU9ORR/UYNAk1h+Z6K5Rual4D9mrpC9IJNaYfIgLe7mC39ZLa +fiySNoGhei9P6pYvRJlQki69bid/EPAgX5YZIQIDAQABAoIBAQClDekkhI9ZqseC +qFjPuKaxsizZMg+faJb6WSHLSxzyk1OSWY6F6FklgLeC8HW/fuLNYZyGOYDEsG20 +lMqL02Wdiy7OutS3oOS5iyzIf9a90HfFJi706el6RIpvINETcaXCS0T8tQrcS1Rd +KqTaBRC6HXJGAPbBcvw3pwQSdskatU6a/Kt2a3x6DsqqinQcgEB/SbrDaJCUX9sb +F2HVUwdq7aZK1Lk0ozr1FID9mrhjwWuQ6XC+vjG0FqtyXeMpR5iaQ73hex3FXQ8z +OjkFbMwuHWSh1DSx70r5yFrrBqwQKnMsBqx4QDRf3fIENUnWviaL+n+gwcXA07af +4kaNUFUtAoGBAPuNNRAGhZnyZ9zguns9PM56nmeMUikV5dPN2DTbQb79cpfV+7pC +6PeSH/dTKFLz62d6qAM2EsNXQvewf8fipBVBRPsRqKOv+uepd01dHNy62I5B+zRm +be9Kbe+EN60qdzvyPM+2hV6CnvGv1dirimS9pu6RrxD2Rmz1ectnJE+rAoGBAM3w +UbSEemyZ6EKjck2RfdipzY0MNBnIZ2cUqHh8mmPXjdTLzpXb9vmPbHb01Qwo8MP+ +gMnTbTBOzyNAaHdIrCO9FHW6C85j3ot5Yzcr+EcBVcua+7KHU0Sgn44JNH8DisJ7 +Y63UP/1Xb4d1/QvHfxYy3WOvvRdVZ7pPo8JNX95jAoGAIe5CIg8/JizUZa7KeKUh +9pgDleQPkQsrHQ6/AyIwFBsLwf9THSS5V+uV9D57SfUs46Bf2U8J6N90YQSlt8iS +aWuManFPVgT+yxDIzt6obf2mCEpOIBtQ6N4ZRh2HhQwdWTCrkzkDdGQaHG+jYL6C +xGPwiG2ON7OAfGIAM7eN5lECgYEAhoRLWlaOgRGnHKAWsYQvZ67CjTdDcPPuVu6v +fMQnNMA/7JeTwV+E205L0wfpgZ/cZKmBBlQMJlnUA3q2wfO+PTnse1mjDJU/cGtB +22/lJLxChlQdxGeQhGtGzUhF+hEeOhrO6WSSx7CtMRZoy6Dr6lwfMFZCdVNcBd6v +YOOZk3ECgYEAseUKGb6E80XTVVNziyuiVbQCsI0ZJuRfqMZ2IIDQJU9u6AnGAway +itqHbkGsmDT+4HUz01+1JKnnw42RdSrHdU/LaOonD+RIGqe2x800QXzqASKLdCXr +y7RoiFqJtkdFQykzJemA+xOXvHLgKi/MXFsU90PCD0VJKLj8vwpX78Y= +-----END RSA PRIVATE KEY----- diff --git a/robot/assets/keys/onap_dev_public.pub b/robot/assets/keys/onap_dev_public.pub new file mode 100644 index 00000000..f5d879e0 --- /dev/null +++ b/robot/assets/keys/onap_dev_public.pub @@ -0,0 +1,9 @@ +---- BEGIN SSH2 PUBLIC KEY ---- +Comment: "imported-openssh-key" +AAAAB3NzaC1yc2EAAAADAQABAAABAQDKXDgoo3+WOqcUG8/5uUbk81+yczgwC4Y8 +ywTmuQqbNxlY1oQ0YxdMUqUnhitSXs5S/yRuAVOYHwGg2mCs20oAINrP+mxBI544 +AMIb9itPjCtgqtE2EWo6MmnFGbHB4Sx3XioE7F4VPsh7japsIwzOjbrQe+Mua1TG +Q5d4nfEOQaaglXLLPFfuc7WbhbJbK6Q7rHqZfRcOwAMXgDoBqlyqKeiKwnumddo2 +RyNT8ljYmvB6buz7KnMinzo7qB0uktVT05FH9Rg0CTWH5norlG5qXgP2aukL0gk1 +ph8iAt7uYLf1ktp+LJI2gaF6L0/qli9EmVCSLr1uJ38Q8CBflhkh +---- END SSH2 PUBLIC KEY ---- diff --git a/robot/assets/keys/onap_dev_public.txt b/robot/assets/keys/onap_dev_public.txt new file mode 100644 index 00000000..838287f2 --- /dev/null +++ b/robot/assets/keys/onap_dev_public.txt @@ -0,0 +1 @@ +ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDKXDgoo3+WOqcUG8/5uUbk81+yczgwC4Y8ywTmuQqbNxlY1oQ0YxdMUqUnhitSXs5S/yRuAVOYHwGg2mCs20oAINrP+mxBI544AMIb9itPjCtgqtE2EWo6MmnFGbHB4Sx3XioE7F4VPsh7japsIwzOjbrQe+Mua1TGQ5d4nfEOQaaglXLLPFfuc7WbhbJbK6Q7rHqZfRcOwAMXgDoBqlyqKeiKwnumddo2RyNT8ljYmvB6buz7KnMinzo7qB0uktVT05FH9Rg0CTWH5norlG5qXgP2aukL0gk1ph8iAt7uYLf1ktp+LJI2gaF6L0/qli9EmVCSLr1uJ38Q8CBflhkh imported-openssh-key \ No newline at end of file diff --git a/robot/assets/service_mappings.py b/robot/assets/service_mappings.py index e0913ff8..5a58bb9f 100644 --- a/robot/assets/service_mappings.py +++ b/robot/assets/service_mappings.py @@ -4,21 +4,35 @@ This metadata identifies the folders to be zipped and uploaded to SDC for model GLOBAL_SERVICE_FOLDER_MAPPING = {"vFW" : ['vFW'], \ "vLB" : ['vLB'], \ "vVG" : ['vVG'], \ - "vCPE" : ['vCPE/infra', 'vCPE/vbng', 'vCPE/vbrgemu', 'vCPE/vgmux', 'vCPE/vgw'], + "vCPE" : ['vCPE/infra', 'vCPE/vbng', 'vCPE/vbrgemu', 'vCPE/vgmux', 'vCPE/vgw'], + "vFWCL" : ['vFWCL/vFWSNK', 'vFWCL/vPKG'], + } + +''' +Map the service to the list of VNFs to be orchestrated +''' +GLOBAL_SERVICE_VNF_MAPPING = { + "vFW" : ['vFW'], + "vLB" : ['vLB'], + "vVG" : ['vVG'], + "vCPE" : ['vCPE'], + "vFWCL" : ['vFWSNK', 'vPKG'], } ''' This metadata identifes the preloads that need to be done for a VNF as there may be more than one (vLB) -"template" maps to the parameters in the preload_paramenters.py +"template" maps to the parameters in the preload_paramenters.py - GLOBAL_PRELOAD_PARAMETERS[][