summaryrefslogtreecommitdiffstats
path: root/plugins/lb-plugin/lb
AgeCommit message (Expand)AuthorFilesLines
2017-01-01Move java,lua api and remaining plugins to src/Damjan Marion12-2874/+0
2016-12-21aarch64 compatibilityChristophe Fontaine1-0/+2
2016-11-21Add client-side msg_name_and_crc -> msg_index tableDave Barach1-0/+16
2016-10-25Support IETF routing Yang models (VPP-503).Neale Ranns1-1/+1
2016-10-18LoadBal: Use intrinsics and use protocol numberPierre Pfister3-209/+307
2016-10-10Test: Add test case for Load Balancer pluginPierre Pfister2-3/+13
2016-10-05Load Balancer: Use FIB 2.0Pierre Pfister4-402/+358
2016-10-03L2 over LISP and GRE (VPP-457)Neale Ranns1-162/+163
2016-09-21A Protocol Independent Hierarchical FIB (VPP-352)Neale Ranns2-136/+136
2016-08-11VPP-130: LoadBal: Add lookup bypass and fix adjacency format functionPierre Pfister4-5/+125
2016-08-11VPP-130: MagLev-like Load BalancerPierre Pfister12-0/+2671
r: #0000DD; font-weight: bold } /* Literal.Number.Bin */ .highlight .mf { color: #0000DD; font-weight: bold } /* Literal.Number.Float */ .highlight .mh { color: #0000DD; font-weight: bold } /* Literal.Number.Hex */ .highlight .mi { color: #0000DD; font-weight: bold } /* Literal.Number.Integer */ .highlight .mo { color: #0000DD; font-weight: bold } /* Literal.Number.Oct */ .highlight .sa { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Affix */ .highlight .sb { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Backtick */ .highlight .sc { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Char */ .highlight .dl { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Delimiter */ .highlight .sd { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Doc */ .highlight .s2 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Double */ .highlight .se { color: #0044dd; background-color: #fff0f0 } /* Literal.String.Escape */ .highlight .sh { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Heredoc */ .highlight .si { color: #3333bb; background-color: #fff0f0 } /* Literal.String.Interpol */ .highlight .sx { color: #22bb22; background-color: #f0fff0 } /* Literal.String.Other */ .highlight .sr { color: #008800; background-color: #fff0ff } /* Literal.String.Regex */ .highlight .s1 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Single */ .highlight .ss { color: #aa6600; background-color: #fff0f0 } /* Literal.String.Symbol */ .highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */ .highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */ .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)