|
15 | 15 |
|
16 | 16 |
|
17 | 17 | class DeviceName(Enum): |
18 | | - VMANAGE: str = "vManage" |
19 | | - VBOND: str = "vBond" |
20 | | - VSMART: str = "vSmart" |
21 | | - EDGE: str = "WAN Edge" |
22 | | - VEDGE: str = "vEdge" |
| 18 | + VMANAGE = "vManage" |
| 19 | + VBOND = "vBond" |
| 20 | + VSMART = "vSmart" |
| 21 | + EDGE = "WAN Edge" |
| 22 | + VEDGE = "vEdge" |
23 | 23 |
|
24 | 24 |
|
25 | 25 | class StatusName(Enum): |
26 | | - CONTROL_STATUS: str = "Control Status" |
27 | | - CONTROL_UP: str = "Control up" |
28 | | - PARTIAL_CONTROL: str = "Partial" |
29 | | - CONTROL_DOWN: str = "Control down" |
| 26 | + CONTROL_STATUS = "Control Status" |
| 27 | + CONTROL_UP = "Control up" |
| 28 | + PARTIAL_CONTROL = "Partial" |
| 29 | + CONTROL_DOWN = "Control down" |
30 | 30 |
|
31 | 31 |
|
32 | 32 | class BfdConnectivityName(Enum): |
33 | | - FULL: str = "Full WAN Connectivity" |
34 | | - PARTIAL: str = "Partial WAN Connectivity" |
35 | | - NO_CONNECTIVITY: str = "No WAN Connectivity" |
| 33 | + FULL = "Full WAN Connectivity" |
| 34 | + PARTIAL = "Partial WAN Connectivity" |
| 35 | + NO_CONNECTIVITY = "No WAN Connectivity" |
36 | 36 |
|
37 | 37 |
|
38 | 38 | class InventoryName(Enum): |
39 | | - TOTAL: str = "Total" |
40 | | - AUTHORIZED: str = "Authorized" |
41 | | - DEPLOYED: str = "Deployed" |
42 | | - STAGING: str = "Staging" |
| 39 | + TOTAL = "Total" |
| 40 | + AUTHORIZED = "Authorized" |
| 41 | + DEPLOYED = "Deployed" |
| 42 | + STAGING = "Staging" |
43 | 43 |
|
44 | 44 |
|
45 | 45 | class PercentageDistributionName(Enum): |
46 | | - BELOW_10_MBPS: str = "less_than_10_mbps" |
47 | | - BETWEEN_10_AND_100_MBPS: str = "10_mbps_100_mbps" |
48 | | - BETWEEN_100_AND_500_MBPS: str = "100_mbps_500_mbps" |
49 | | - ABOVE_500_MBPS: str = "greater_than_500_mbps" |
| 46 | + BELOW_10_MBPS = "less_than_10_mbps" |
| 47 | + BETWEEN_10_AND_100_MBPS = "10_mbps_100_mbps" |
| 48 | + BETWEEN_100_AND_500_MBPS = "100_mbps_500_mbps" |
| 49 | + ABOVE_500_MBPS = "greater_than_500_mbps" |
50 | 50 |
|
51 | 51 |
|
52 | 52 | class PercentageDistribution(Enum): |
53 | | - BELOW_10_MBPS: str = "< 10 Mbps" |
54 | | - BETWEEN_10_AND_100_MBPS: str = "10 Mbps - 100 Mbps" |
55 | | - BETWEEN_100_AND_500_MBPS: str = "100 Mbps - 500 Mbps" |
56 | | - ABOVE_500_MBPS: str = "> 500 Mbps" |
| 53 | + BELOW_10_MBPS = "< 10 Mbps" |
| 54 | + BETWEEN_10_AND_100_MBPS = "10 Mbps - 100 Mbps" |
| 55 | + BETWEEN_100_AND_500_MBPS = "100 Mbps - 500 Mbps" |
| 56 | + ABOVE_500_MBPS = "> 500 Mbps" |
57 | 57 |
|
58 | 58 |
|
59 | 59 | class HealthColor(Enum): |
60 | | - GREEN: str = "green" |
61 | | - YELLOW: str = "yellow" |
62 | | - RED: str = "red" |
| 60 | + GREEN = "green" |
| 61 | + YELLOW = "yellow" |
| 62 | + RED = "red" |
63 | 63 |
|
64 | 64 |
|
65 | 65 | def name_converter(name): |
|
0 commit comments