aboutsummaryrefslogtreecommitdiffstats
path: root/tools/xm-test/lib/XmTestLib/XenDevice.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/xm-test/lib/XmTestLib/XenDevice.py')
-rw-r--r--tools/xm-test/lib/XmTestLib/XenDevice.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/xm-test/lib/XmTestLib/XenDevice.py b/tools/xm-test/lib/XmTestLib/XenDevice.py
index 688b39e543..d51ee28ef7 100644
--- a/tools/xm-test/lib/XmTestLib/XenDevice.py
+++ b/tools/xm-test/lib/XmTestLib/XenDevice.py
@@ -244,6 +244,9 @@ class XenNetDevice(XenDevice):
def getNetwork(self):
return self.network
+ def get_netmask(self):
+ return self.netmask
+
def setNetDevIP(self, ip=None):
# Function to set a new IP for NetDevice.
if NETWORK_IP_RANGE == "dhcp":