aboutsummaryrefslogtreecommitdiffstats
path: root/test/vrf.py
diff options
context:
space:
mode:
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)