1
0
mirror of https://github.com/checktheroads/hyperglass synced 2024-05-11 05:55:08 +00:00

add VRF to AFI mapping model

This commit is contained in:
checktheroads
2019-09-13 00:36:58 -07:00
parent f5fb9c415d
commit 17d7648b9c
3 changed files with 73 additions and 7 deletions

View File

@@ -4,6 +4,15 @@ Global Constants for hyperglass
protocol_map = {80: "http", 8080: "http", 443: "https", 8443: "https"}
afi_nos_map = {
"default": {
"ipv4": "ipv4",
"ipv6": "ipv6",
"ipv4_vpn": "vpnv4",
"ipv6_vpn": "vpnv6",
}
}
class Supported:
"""