\
'+tr("Default: dummy driver that doesn’t perform any network operation. Firewalling rules are also ignored.")+'
\
'+tr("802.1Q: restrict network access through VLAN tagging, which also requires support from the hardware switches.")+'
\
+
'+tr("VXLAN: creates a L2 network overlay based on the VXLAN protocol, each VLAN has associated a multicast address in the 239.0.0.0/8 range.")+'
\
'+tr("ebtables: restrict network access through Ebtables rules. No special hardware configuration required.")+'
\
'+tr("Open vSwitch: restrict network access with Open vSwitch Virtual Switch.")+'
\
'+tr("VMware: uses the VMware networking infrastructure to provide an isolated and 802.1Q compatible network for VMs launched with the VMware hypervisor.")+'
\
@@ -1352,6 +1354,15 @@ function initialize_create_vnet_dialog(dialog) {
$('select#vlan,label[for="vlan"]',dialog).show().prop('wizard_field_disabled', false);
$('input#vlan_id,label[for="vlan_id"]',dialog).show().prop('wizard_field_disabled', false);
+ $('input#phydev',dialog).removeAttr('required');
+ $('input#bridge',dialog).removeAttr('required');
+ break;
+ case "vxlan":
+ $('input#bridge,label[for="bridge"]',dialog).show().prop('wizard_field_disabled', false);
+ $('input#phydev,label[for="phydev"]',dialog).show().prop('wizard_field_disabled', false);
+ $('select#vlan,label[for="vlan"]',dialog).show().prop('wizard_field_disabled', false);
+ $('input#vlan_id,label[for="vlan_id"]',dialog).show().prop('wizard_field_disabled', false);
+
$('input#phydev',dialog).removeAttr('required');
$('input#bridge',dialog).removeAttr('required');
break;