createnet: drop the @ipv6 setting

This only applies for inter VM traffic when ipv6 networking is
disabled, which IMO is pretty obscure. If users want ipv6
connectivity, just enabling ipv6 will handle it appropriately
This commit is contained in:
Cole Robinson 2019-05-05 11:53:20 -04:00
parent 7597750a59
commit 1fa0f7261b
2 changed files with 1 additions and 60 deletions

View File

@ -1172,58 +1172,6 @@
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkBox" id="net-enable-ipv6-networking-box">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="orientation">vertical</property>
<property name="spacing">3</property>
<child>
<object class="GtkCheckButton" id="net-enable-ipv6-networking">
<property name="label" translatable="yes">Enable IPv6 internal routing/networking</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
<property name="halign">start</property>
<property name="margin_top">12</property>
<property name="draw_indicator">True</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkAlignment" id="alignment2">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="left_padding">25</property>
<child>
<object class="GtkLabel" id="label13">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="halign">start</property>
<property name="label" translatable="yes">If an IPv6 network address is &lt;b&gt;not&lt;/b&gt; specified, this will enable IPv6 internal routing between virtual machines. By default, IPv4 internal routing is enabled.</property>
<property name="use_markup">True</property>
<property name="wrap">True</property>
<property name="max_width_chars">30</property>
</object>
</child>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">1</property>
</packing>
</child>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">1</property>
</packing>
</child>
<child>
<object class="GtkBox" id="dns-domain-name-box">
<property name="visible">True</property>
@ -1262,7 +1210,7 @@
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">2</property>
<property name="position">1</property>
</packing>
</child>
</object>

View File

@ -144,8 +144,6 @@ class vmmCreateNetwork(vmmGObjectUI):
self.widget("net-dhcpv6-start").set_text("")
self.widget("net-dhcpv6-end").set_text("")
self.widget("net-enable-ipv6-networking").set_active(False)
# Populate physical forward devices
fw_model = self.widget("net-forward").get_model()
@ -417,8 +415,6 @@ class vmmCreateNetwork(vmmGObjectUI):
self.widget("net-forward").set_sensitive(fwd_sensitive and
mode != "open")
self.widget("net-forward-hostdev-table").set_sensitive(is_hostdev)
self.widget("net-enable-ipv6-networking-box").set_sensitive(
not is_hostdev)
self.widget("dns-domain-name-box").set_sensitive(not is_hostdev)
def change_forward_mode_type(self, ignore):
@ -543,9 +539,6 @@ class vmmCreateNetwork(vmmGObjectUI):
net.name = self.widget("net-name").get_text()
net.domain_name = self.widget("net-domain-name").get_text() or None
if self.widget("net-enable-ipv6-networking").get_active():
net.ipv6 = True
dev, mode = self.get_config_forwarding()
if mode:
net.forward.mode = mode