summaryrefslogtreecommitdiffhomepage
path: root/internal/pkg/config/bgp_configs.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/pkg/config/bgp_configs.go')
-rw-r--r--internal/pkg/config/bgp_configs.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/internal/pkg/config/bgp_configs.go b/internal/pkg/config/bgp_configs.go
index 0833e240..7a533b56 100644
--- a/internal/pkg/config/bgp_configs.go
+++ b/internal/pkg/config/bgp_configs.go
@@ -261,6 +261,7 @@ const (
AFI_SAFI_TYPE_L3VPN_IPV6_FLOWSPEC AfiSafiType = "l3vpn-ipv6-flowspec"
AFI_SAFI_TYPE_L2VPN_FLOWSPEC AfiSafiType = "l2vpn-flowspec"
AFI_SAFI_TYPE_OPAQUE AfiSafiType = "opaque"
+ AFI_SAFI_TYPE_LS AfiSafiType = "ls"
)
var AfiSafiTypeToIntMap = map[AfiSafiType]int{
@@ -285,6 +286,7 @@ var AfiSafiTypeToIntMap = map[AfiSafiType]int{
AFI_SAFI_TYPE_L3VPN_IPV6_FLOWSPEC: 18,
AFI_SAFI_TYPE_L2VPN_FLOWSPEC: 19,
AFI_SAFI_TYPE_OPAQUE: 20,
+ AFI_SAFI_TYPE_LS: 21,
}
var IntToAfiSafiTypeMap = map[int]AfiSafiType{
@@ -309,6 +311,7 @@ var IntToAfiSafiTypeMap = map[int]AfiSafiType{
18: AFI_SAFI_TYPE_L3VPN_IPV6_FLOWSPEC,
19: AFI_SAFI_TYPE_L2VPN_FLOWSPEC,
20: AFI_SAFI_TYPE_OPAQUE,
+ 21: AFI_SAFI_TYPE_LS,
}
func (v AfiSafiType) Validate() error {