summaryrefslogtreecommitdiffstats
path: root/test/vrf.py
diff options
context:
space:
mode:
authorJan Gelety <jgelety@cisco.com>2017-02-27 10:46:14 +0100
committerDamjan Marion <dmarion.lists@gmail.com>2018-04-13 08:48:00 +0000
commit95c87b5ae5db74385f56ba5dd08718c65a1edf69 (patch)
tree099074e42987e6d19d2c4b82b6f579bf60767854 /test/vrf.py
parent410bcca41c1a3e7c3d4b4c2940120f9b21732d49 (diff)
Enable check of VRF reset - IPv4
Change-Id: I60818a22f543f9a3c3f62f9c67f5e4239e5b045a Signed-off-by: Jan Gelety <jgelety@cisco.com>
Diffstat (limited to 'test/vrf.py')
-rw-r--r--test/vrf.py19
1 files changed, 19 insertions, 0 deletions
diff --git a/test/vrf.py b/test/vrf.py
new file mode 100644
index 00000000000..b3daceed2c1
--- /dev/null
+++ b/test/vrf.py
@@ -0,0 +1,19 @@
+""" VRF Status codes """
+
+from util import NumericConstant
+
+
+class VRFState(NumericConstant):
+ """ VRF State """
+ not_configured = 0
+ configured = 1
+ reset = 2
+
+ desc_dict = {
+ not_configured: "VRF not configured",
+ configured: "VRF configured",
+ reset: "VRF reset",
+ }
+
+ def __init__(self, value):
+ NumericConstant.__init__(self, value)