Jan Gelety | 95c87b5 | 2017-02-27 10:46:14 +0100 | [diff] [blame] | 1 | """ VRF Status codes """ |
| 2 | |
| 3 | from util import NumericConstant |
| 4 | |
| 5 | |
| 6 | class VRFState(NumericConstant): |
Klement Sekera | d9b0c6f | 2022-04-26 19:02:15 +0200 | [diff] [blame] | 7 | """VRF State""" |
| 8 | |
Jan Gelety | 95c87b5 | 2017-02-27 10:46:14 +0100 | [diff] [blame] | 9 | not_configured = 0 |
| 10 | configured = 1 |
| 11 | reset = 2 |
| 12 | |
| 13 | desc_dict = { |
| 14 | not_configured: "VRF not configured", |
| 15 | configured: "VRF configured", |
| 16 | reset: "VRF reset", |
| 17 | } |
| 18 | |
| 19 | def __init__(self, value): |
| 20 | NumericConstant.__init__(self, value) |