aboutsummaryrefslogtreecommitdiffstats
path: root/test/hook.py
AgeCommit message (Expand)AuthorFilesLines
2018-03-31make test: print a warning in case a core_pattern contains a filter programAndrew Yourtchenko1-0/+2
2018-03-24make test: enhance core-file informationKlement Sekera1-2/+12
2018-03-23make test: code cleanupKlement Sekera1-3/+5
2018-03-14make test: early core detection, code cleanupKlement Sekera1-0/+2
2018-02-01IPv4/6 reassemblyKlement Sekera1-9/+5
2017-11-06make test: fix DEBUG=core errorKlement Sekera1-1/+1
2017-08-10make test: detect hung testsKlement Sekera1-22/+7
2017-01-11make test: improve documentation and PEP8 complianceKlement Sekera1-2/+2
2016-12-07BFD: basic asynchronous session up/downKlement Sekera1-8/+12
2016-11-28make test: detect early vpp crashKlement Sekera1-2/+1
2016-11-02Improve debug-cli in test frameworkKlement Sekera1-1/+1
2016-10-31add vpp debugging support to test frameworkKlement Sekera1-8/+104
2016-10-26refactor test frameworkKlement Sekera1-0/+128
highlight .vc { color: #336699 } /* Name.Variable.Class */ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .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)