go fmt
This commit is contained in:
@@ -67,47 +67,47 @@ var (
|
|||||||
73: "FQDN Capability",
|
73: "FQDN Capability",
|
||||||
}
|
}
|
||||||
BgpAttributes = map[int]string{
|
BgpAttributes = map[int]string{
|
||||||
0: "Reserved",
|
0: "Reserved",
|
||||||
ATTRIBUTE_ORIGIN: "ORIGIN",
|
ATTRIBUTE_ORIGIN: "ORIGIN",
|
||||||
ATTRIBUTE_ASPATH: "AS_PATH",
|
ATTRIBUTE_ASPATH: "AS_PATH",
|
||||||
ATTRIBUTE_NEXTHOP: "NEXT_HOP",
|
ATTRIBUTE_NEXTHOP: "NEXT_HOP",
|
||||||
ATTRIBUTE_MED: "MULTI_EXIT_DISC",
|
ATTRIBUTE_MED: "MULTI_EXIT_DISC",
|
||||||
ATTRIBUTE_LOCPREF: "LOCAL_PREF",
|
ATTRIBUTE_LOCPREF: "LOCAL_PREF",
|
||||||
6: "ATOMIC_AGGREGATE",
|
6: "ATOMIC_AGGREGATE",
|
||||||
7: "AGGREGATOR",
|
7: "AGGREGATOR",
|
||||||
ATTRIBUTE_COMMUNITIES: "COMMUNITY",
|
ATTRIBUTE_COMMUNITIES: "COMMUNITY",
|
||||||
9: "ORIGINATOR_ID",
|
9: "ORIGINATOR_ID",
|
||||||
10: "CLUSTER_LIST",
|
10: "CLUSTER_LIST",
|
||||||
11: "DPA (deprecated)",
|
11: "DPA (deprecated)",
|
||||||
12: "ADVERTISER (historic) (deprecated)",
|
12: "ADVERTISER (historic) (deprecated)",
|
||||||
13: "RCID_PATH / CLUSTER_ID (Historic) (deprecated)",
|
13: "RCID_PATH / CLUSTER_ID (Historic) (deprecated)",
|
||||||
ATTRIBUTE_REACH: "MP_REACH_NLRI",
|
ATTRIBUTE_REACH: "MP_REACH_NLRI",
|
||||||
ATTRIBUTE_UNREACH: "MP_UNREACH_NLRI",
|
ATTRIBUTE_UNREACH: "MP_UNREACH_NLRI",
|
||||||
16: "EXTENDED COMMUNITIES",
|
16: "EXTENDED COMMUNITIES",
|
||||||
ATTRIBUTE_AS4PATH: "AS4_PATH",
|
ATTRIBUTE_AS4PATH: "AS4_PATH",
|
||||||
18: "AS4_AGGREGATOR",
|
18: "AS4_AGGREGATOR",
|
||||||
19: "SAFI Specific Attribute (SSA) (deprecated)",
|
19: "SAFI Specific Attribute (SSA) (deprecated)",
|
||||||
20: "Connector Attribute (deprecated)",
|
20: "Connector Attribute (deprecated)",
|
||||||
21: "AS_PATHLIMIT (deprecated)",
|
21: "AS_PATHLIMIT (deprecated)",
|
||||||
22: "PMSI_TUNNEL",
|
22: "PMSI_TUNNEL",
|
||||||
23: "Tunnel Encapsulation Attribute",
|
23: "Tunnel Encapsulation Attribute",
|
||||||
24: "Traffic Engineering",
|
24: "Traffic Engineering",
|
||||||
25: "IPv6 Address Specific Extended Community",
|
25: "IPv6 Address Specific Extended Community",
|
||||||
26: "AIGP",
|
26: "AIGP",
|
||||||
27: "PE Distinguisher Labels",
|
27: "PE Distinguisher Labels",
|
||||||
28: "BGP Entropy Label Capability Attribute (deprecated)",
|
28: "BGP Entropy Label Capability Attribute (deprecated)",
|
||||||
29: "BGP-LS Attribute",
|
29: "BGP-LS Attribute",
|
||||||
30: "Deprecated",
|
30: "Deprecated",
|
||||||
31: "Deprecated",
|
31: "Deprecated",
|
||||||
32: "LARGE_COMMUNITY",
|
32: "LARGE_COMMUNITY",
|
||||||
33: "BGPsec_Path",
|
33: "BGPsec_Path",
|
||||||
34: "BGP Community Container Attribute",
|
34: "BGP Community Container Attribute",
|
||||||
40: "BGP Prefix-SID",
|
40: "BGP Prefix-SID",
|
||||||
128: "ATTR_SET",
|
128: "ATTR_SET",
|
||||||
129: "Deprecated",
|
129: "Deprecated",
|
||||||
241: "Deprecated",
|
241: "Deprecated",
|
||||||
242: "Deprecated",
|
242: "Deprecated",
|
||||||
243: "Deprecated",
|
243: "Deprecated",
|
||||||
}
|
}
|
||||||
Afi = map[string]uint16{
|
Afi = map[string]uint16{
|
||||||
"ipv4": AFI_IPV4,
|
"ipv4": AFI_IPV4,
|
||||||
|
|||||||
Reference in New Issue
Block a user