projects
/
osm
/
UI.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
RIFT-14835: DHCP enabled false now sent in instantiation package
[osm/UI.git]
/
skyquake
/
plugins
/
launchpad
/
src
/
instantiate
/
instantiateStore.js
diff --git
a/skyquake/plugins/launchpad/src/instantiate/instantiateStore.js
b/skyquake/plugins/launchpad/src/instantiate/instantiateStore.js
index
2e27246
..
69953d7
100644
(file)
--- 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) {
}
//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;
}
} else {
self.ipProfiles[i]['ip-profile-params']['dhcp-params'][property] = value;
}