Code Review
/
vpp.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
b3daceed2c164802ebb1e7e96eae61dff5f2d5a9
[vpp.git]
/
vrf.py
1
""" VRF Status codes """
2
3
from util import NumericConstant
4
5
6
class VRFState(NumericConstant):
7
""" VRF State """
8
not_configured = 0
9
configured = 1
10
reset = 2
11
12
desc_dict = {
13
not_configured: "VRF not configured",
14
configured: "VRF configured",
15
reset: "VRF reset",
16
}
17
18
def __init__(self, value):
19
NumericConstant.__init__(self, value)