From 95c87b5ae5db74385f56ba5dd08718c65a1edf69 Mon Sep 17 00:00:00 2001 From: Jan Gelety Date: Mon, 27 Feb 2017 10:46:14 +0100 Subject: Enable check of VRF reset - IPv4 Change-Id: I60818a22f543f9a3c3f62f9c67f5e4239e5b045a Signed-off-by: Jan Gelety --- test/vrf.py | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 test/vrf.py (limited to 'test/vrf.py') 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) -- cgit 1.2.3-korg