summaryrefslogtreecommitdiff
path: root/virtinst/network.py
diff options
context:
space:
mode:
authorCole Robinson <crobinso@redhat.com>2019-06-16 20:25:42 -0400
committerCole Robinson <crobinso@redhat.com>2019-06-16 20:25:42 -0400
commit59873f38764d17a0646fd5273759859f507303a7 (patch)
treed85935be0e54f4e6804fe101e64b71f1541c4bd7 /virtinst/network.py
parente25318e037621d266c0dd646f849b5b1149e21c6 (diff)
downloadvirt-manager-59873f38764d17a0646fd5273759859f507303a7.tar.gz
hostnets: Remove QoS viewing/editing
This is fairly niche, and can be reviewed or edited with the XML editor
Diffstat (limited to 'virtinst/network.py')
-rw-r--r--virtinst/network.py16
1 files changed, 1 insertions, 15 deletions
diff --git a/virtinst/network.py b/virtinst/network.py
index 118faa72..ecd7e598 100644
--- a/virtinst/network.py
+++ b/virtinst/network.py
@@ -73,19 +73,6 @@ class _NetworkForward(XMLBuilder):
vfs = XMLChildProperty(_NetworkForwardAddress)
-class _NetworkBandwidth(XMLBuilder):
- XML_NAME = "bandwidth"
-
- inbound_average = XMLProperty("./inbound/@average")
- inbound_peak = XMLProperty("./inbound/@peak")
- inbound_burst = XMLProperty("./inbound/@burst")
- inbound_floor = XMLProperty("./inbound/@floor")
-
- outbound_average = XMLProperty("./outbound/@average")
- outbound_peak = XMLProperty("./outbound/@peak")
- outbound_burst = XMLProperty("./outbound/@burst")
-
-
class _NetworkPortgroup(XMLBuilder):
XML_NAME = "portgroup"
@@ -100,7 +87,7 @@ class Network(XMLBuilder):
XML_NAME = "network"
_XML_PROP_ORDER = ["ipv6", "name", "uuid", "forward", "virtualport_type",
"bridge", "stp", "delay", "domain_name",
- "macaddr", "ips", "routes", "bandwidth"]
+ "macaddr", "ips", "routes"]
ipv6 = XMLProperty("./@ipv6", is_yesno=True)
name = XMLProperty("./name")
@@ -121,7 +108,6 @@ class Network(XMLBuilder):
portgroups = XMLChildProperty(_NetworkPortgroup)
ips = XMLChildProperty(_NetworkIP)
routes = XMLChildProperty(_NetworkRoute)
- bandwidth = XMLChildProperty(_NetworkBandwidth, is_single=True)
###################