RIFT-14835: DHCP enabled false now sent in instantiation package
[osm/UI.git] / skyquake / plugins / launchpad / src / instantiate / instantiateStore.js
index 2e27246..69953d7 100644 (file)
@@ -509,7 +509,9 @@ class LaunchNetworkServiceStore {
                     }
                     //Removing DCHP property on disable to allow instantiation
                     if(!value) {
-                        delete self.ipProfiles[i]['ip-profile-params']['dhcp-params'];
+                        self.ipProfiles[i]['ip-profile-params']['dhcp-params'] = {
+                            enabled: false
+                        };
                     } else {
                         self.ipProfiles[i]['ip-profile-params']['dhcp-params'][property] = value;
                     }