2017-02-27 10:46:14 +01:00
|
|
|
""" VRF Status codes """
|
|
|
|
|
|
|
|
from util import NumericConstant
|
|
|
|
|
|
|
|
|
|
|
|
class VRFState(NumericConstant):
|
2022-04-26 19:02:15 +02:00
|
|
|
"""VRF State"""
|
|
|
|
|
2017-02-27 10:46:14 +01:00
|
|
|
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)
|