Update ip_address in create_port following the DM
[vfc/gvnfm/vnflcm.git] / lcm / lcm / samples / tests.py
index c626675..01c87de 100644 (file)
@@ -207,13 +207,15 @@ inst_res_data = {
 
             "properties": {
                 "name": "vNat_big_subnet_port",
-                "protocol_data": {
-                    "address_data": {
-                        "l3_address_data": {
-                            "fixed_ip_address": "10.43.38.253"
+                "protocol_data": [
+                    {
+                        "address_data": {
+                            "l3_address_data": {
+                                "fixed_ip_address": ["10.43.38.253"]
+                            },
                         },
-                    },
-                },
+                    }
+                ],
                 "vnic_type": "normal",
                 "role": "root",
                 "virtual_network_interface_requirements": [