aboutsummaryrefslogtreecommitdiffstats
path: root/vlib-api
AgeCommit message (Expand)AuthorFilesLines
2016-03-07build: fix call to mkdirJean-Mickael Guerin1-1/+1
2016-02-19Serialize and upload the data plane node graphDave Barach3-1/+147
2016-02-10Replace AC_PROG_LIBTOOL with LT_INITDave Barach1-1/+1
2016-01-22Enable shared-VM namespace supportDave Barach2-11/+12
2015-12-15Remove autotools generated productsDave Barach10-39229/+0
2015-12-14Move rpc handler where it belongs, related cleanupDave Barach3-22/+87
2015-12-08Initial commit of vpp code.v1.0.0Ed Warnicke30-0/+44561
nce */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */
""" 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)