aboutsummaryrefslogtreecommitdiffstats
path: root/test/vrf.py
blob: 2db18c4824b0045666c3a008466ee71a6a0d4835 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
""" 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)