diff --git a/src/sunstone/public/app/utils/vcenter/networks.js b/src/sunstone/public/app/utils/vcenter/networks.js
index 41b47ebdf6..1d23a29d3f 100644
--- a/src/sunstone/public/app/utils/vcenter/networks.js
+++ b/src/sunstone/public/app/utils/vcenter/networks.js
@@ -186,6 +186,33 @@ define(function(require) {
'' +
'';
break;
+ case 'IP6_STATIC':
+ net_form_str =
+ '
' +
+ '' +
+ '
' +
+ '' +
+ '' +
+ '
' +
+ '' +
+ '' +
+ '
'+
+ '' +
+ '' +
+ '
'+'' +
+ '' +
+ '
';
+ break;
}
$('.net_options', row_context).html(net_form_str);
@@ -251,6 +278,29 @@ define(function(require) {
ar_array.push("ULA_PREFIX=" + ula);
}
+ break;
+ case 'IP6_STATIC':
+ var mac = $('.six_mac_net', row_context).val();
+ var gp = $('.six_global_net', row_context).val();
+ var ula = $('.six_mac_net', row_context).val();
+ var ip6_static = $('.six_static_net', row_context).val();
+ var prefix = $('.six_prefix_net', row_context).val();
+
+ if (mac) {
+ ar_array.push("MAC=" + mac);
+ }
+ if (gp) {
+ ar_array.push("GLOBAL_PREFIX=" + gp);
+ }
+ if (ula) {
+ ar_array.push("ULA_PREFIX=" + ula);
+ }
+ if (ip6_static) {
+ ar_array.push("IP6=" + ip6_static);
+ }
+ if (prefix) {
+ ar_array.push("PREFIX_LENGTH=" + prefix);
+ }
break;
}
diff --git a/src/sunstone/public/app/utils/vcenter/networks/row.hbs b/src/sunstone/public/app/utils/vcenter/networks/row.hbs
index eae5fae067..974b32bbe7 100644
--- a/src/sunstone/public/app/utils/vcenter/networks/row.hbs
+++ b/src/sunstone/public/app/utils/vcenter/networks/row.hbs
@@ -45,6 +45,7 @@
+