X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=lcm%2Flcm%2Fpub%2Fverifyvnfd%2Fconst.py;fp=lcm%2Flcm%2Fpub%2Fverifyvnfd%2Fconst.py;h=f0ed9feb4cd1ff2e6976ade5c67a700c31bf59e5;hb=d8019fdc8c1243f7c8bcf54921639333526f3749;hp=a5a3516fef111f158be98a09c5064e3b9d4b9b9e;hpb=4ba359d8f83a8bb9b6648b53c1372fee101e5ba2;p=vfc%2Fgvnfm%2Fvnflcm.git diff --git a/lcm/lcm/pub/verifyvnfd/const.py b/lcm/lcm/pub/verifyvnfd/const.py index a5a3516f..f0ed9feb 100644 --- a/lcm/lcm/pub/verifyvnfd/const.py +++ b/lcm/lcm/pub/verifyvnfd/const.py @@ -184,9 +184,7 @@ vnfd_model1 = { "is_predefined": False, "is_shared": False }, - "image_file": [ - "volume_image" - ] + "image_file": "volume_image" } ], 'policies': { @@ -368,10 +366,15 @@ vnfd_model2 = { "connectivity_type": { "layer_protocol": "ipv4", }, - "dns_nameservers": "test", - "host_routes": "test", + "dns_nameservers": ["test"], + "host_routes": [ + { + "destination": "10.43.26.0/24", + "nexthop": "10.41.23.1" + } + ], }, - "route_external": "test", + "route_external": False, } ], "cps": [ @@ -795,7 +798,6 @@ vnfd_model3 = { } ], "vls": [ - ], "cps": [ { @@ -1099,7 +1101,7 @@ vnfd_model_miss_required = { "dns_nameservers": "test", "host_routes": "test", }, - "route_external": "test", + "route_external": False, } ], "cps": [