From: Laurence Maultsby Date: Tue, 11 Oct 2016 15:38:03 +0000 (-0400) Subject: RIFT-14835: DHCP enabled false now sent in instantiation package X-Git-Tag: v1.0.1~10^2~13 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=edfa3480565a7c950a062d2f80f5c81de014bba4;p=osm%2FUI.git RIFT-14835: DHCP enabled false now sent in instantiation package Signed-off-by: Laurence Maultsby --- diff --git a/skyquake/plugins/launchpad/src/instantiate/instantiateStore.js b/skyquake/plugins/launchpad/src/instantiate/instantiateStore.js index 2e272469f..69953d700 100644 --- a/skyquake/plugins/launchpad/src/instantiate/instantiateStore.js +++ b/skyquake/plugins/launchpad/src/instantiate/instantiateStore.js @@ -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; }