95c87b5ae5
Change-Id: I60818a22f543f9a3c3f62f9c67f5e4239e5b045a Signed-off-by: Jan Gelety <jgelety@cisco.com>
20 lines
387 B
Python
20 lines
387 B
Python
""" 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)
|