From edfa3480565a7c950a062d2f80f5c81de014bba4 Mon Sep 17 00:00:00 2001 From: Laurence Maultsby Date: Tue, 11 Oct 2016 11:38:03 -0400 Subject: [PATCH] RIFT-14835: DHCP enabled false now sent in instantiation package Signed-off-by: Laurence Maultsby --- .../plugins/launchpad/src/instantiate/instantiateStore.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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; } -- 2.17.1