@@ -73,6 +73,7 @@ def _init_fabric_types(self) -> None:
73
73
- Value is a list of mandatory parameters for the fabric type
74
74
"""
75
75
self ._fabric_type_to_template_name_map = {}
76
+ self ._fabric_type_to_template_name_map ["BGP" ] = "Easy_Fabric_eBGP"
76
77
self ._fabric_type_to_template_name_map ["IPFM" ] = "Easy_Fabric_IPFM"
77
78
self ._fabric_type_to_template_name_map ["ISN" ] = "External_Fabric"
78
79
self ._fabric_type_to_template_name_map ["LAN_CLASSIC" ] = "LAN_Classic"
@@ -82,6 +83,7 @@ def _init_fabric_types(self) -> None:
82
83
# Map fabric type to the feature name that must be running
83
84
# on the controller to enable the fabric type.
84
85
self ._fabric_type_to_feature_name_map = {}
86
+ self ._fabric_type_to_feature_name_map ["BGP" ] = "vxlan"
85
87
self ._fabric_type_to_feature_name_map ["IPFM" ] = "pmn"
86
88
self ._fabric_type_to_feature_name_map ["ISN" ] = "vxlan"
87
89
self ._fabric_type_to_feature_name_map ["LAN_CLASSIC" ] = "lan"
@@ -115,6 +117,9 @@ def _init_fabric_types(self) -> None:
115
117
self ._mandatory_parameters_all_fabrics .append ("FABRIC_TYPE" )
116
118
117
119
self ._mandatory_parameters = {}
120
+ self ._mandatory_parameters ["BGP" ] = copy .copy (
121
+ self ._mandatory_parameters_all_fabrics
122
+ )
118
123
self ._mandatory_parameters ["IPFM" ] = copy .copy (
119
124
self ._mandatory_parameters_all_fabrics
120
125
)
@@ -127,12 +132,14 @@ def _init_fabric_types(self) -> None:
127
132
self ._mandatory_parameters ["VXLAN_EVPN" ] = copy .copy (
128
133
self ._mandatory_parameters_all_fabrics
129
134
)
135
+ self ._mandatory_parameters ["BGP" ].append ("BGP_AS" )
130
136
self ._mandatory_parameters ["ISN" ].append ("BGP_AS" )
131
137
self ._mandatory_parameters ["VXLAN_EVPN" ].append ("BGP_AS" )
132
138
self ._mandatory_parameters ["VXLAN_EVPN_MSD" ] = copy .copy (
133
139
self ._mandatory_parameters_all_fabrics
134
140
)
135
141
142
+ self ._mandatory_parameters ["BGP" ].sort ()
136
143
self ._mandatory_parameters ["IPFM" ].sort ()
137
144
self ._mandatory_parameters ["ISN" ].sort ()
138
145
self ._mandatory_parameters ["LAN_CLASSIC" ].sort ()
0 commit comments