@@ -1455,6 +1455,7 @@ def update_create_params(self, vrf, vlan_id=""):
1455
1455
"maxBgpPaths" : vrf .get ("max_bgp_paths" , "" ),
1456
1456
"maxIbgpPaths" : vrf .get ("max_ibgp_paths" , "" ),
1457
1457
"ipv6LinkLocalFlag" : vrf .get ("ipv6_linklocal_enable" , True ),
1458
+ "enableL3VniNoVlan" : vrf .get ("l3vni_wo_vlan" , False ),
1458
1459
"trmEnabled" : vrf .get ("trm_enable" , False ),
1459
1460
"isRPExternal" : vrf .get ("rp_external" , False ),
1460
1461
"rpAddress" : vrf .get ("rp_address" , "" ),
@@ -1590,6 +1591,7 @@ def get_have(self):
1590
1591
"maxBgpPaths" : json_to_dict .get ("maxBgpPaths" , 1 ),
1591
1592
"maxIbgpPaths" : json_to_dict .get ("maxIbgpPaths" , 2 ),
1592
1593
"ipv6LinkLocalFlag" : json_to_dict .get ("ipv6LinkLocalFlag" , True ),
1594
+ "enableL3VniNoVlan" : json_to_dict .get ("enableL3VniNoVlan" , False ),
1593
1595
"trmEnabled" : json_to_dict .get ("trmEnabled" , False ),
1594
1596
"isRPExternal" : json_to_dict .get ("isRPExternal" , False ),
1595
1597
"rpAddress" : json_to_dict .get ("rpAddress" , "" ),
@@ -2197,6 +2199,7 @@ def diff_merge_create(self, replace=False):
2197
2199
"maxBgpPaths" : json_to_dict .get ("maxBgpPaths" ),
2198
2200
"maxIbgpPaths" : json_to_dict .get ("maxIbgpPaths" ),
2199
2201
"ipv6LinkLocalFlag" : json_to_dict .get ("ipv6LinkLocalFlag" ),
2202
+ "enableL3VniNoVlan" : json_to_dict .get ("enableL3VniNoVlan" ),
2200
2203
"trmEnabled" : json_to_dict .get ("trmEnabled" ),
2201
2204
"isRPExternal" : json_to_dict .get ("isRPExternal" ),
2202
2205
"rpAddress" : json_to_dict .get ("rpAddress" ),
@@ -2487,6 +2490,7 @@ def format_diff(self):
2487
2490
found_c .update (
2488
2491
{"ipv6_linklocal_enable" : json_to_dict .get ("ipv6LinkLocalFlag" , True )}
2489
2492
)
2493
+ found_c .update ({"l3vni_wo_vlan" : json_to_dict .get ("enableL3VniNoVlan" , False )})
2490
2494
found_c .update ({"trm_enable" : json_to_dict .get ("trmEnabled" , False )})
2491
2495
found_c .update ({"rp_external" : json_to_dict .get ("isRPExternal" , False )})
2492
2496
found_c .update ({"rp_address" : json_to_dict .get ("rpAddress" , "" )})
@@ -2964,6 +2968,7 @@ def push_diff_create(self, is_rollback=False):
2964
2968
"maxBgpPaths" : json_to_dict .get ("maxBgpPaths" ),
2965
2969
"maxIbgpPaths" : json_to_dict .get ("maxIbgpPaths" ),
2966
2970
"ipv6LinkLocalFlag" : json_to_dict .get ("ipv6LinkLocalFlag" ),
2971
+ "enableL3VniNoVlan" : json_to_dict .get ("enableL3VniNoVlan" ),
2967
2972
"trmEnabled" : json_to_dict .get ("trmEnabled" ),
2968
2973
"isRPExternal" : json_to_dict .get ("isRPExternal" ),
2969
2974
"rpAddress" : json_to_dict .get ("rpAddress" ),
@@ -3902,6 +3907,7 @@ def vrf_spec(self):
3902
3907
3903
3908
spec ["ipv6_linklocal_enable" ] = {"default" : True , "type" : "bool" }
3904
3909
3910
+ spec ["l3vni_wo_vlan" ] = {"default" : False , "type" : "bool" }
3905
3911
spec ["loopback_route_tag" ] = {
3906
3912
"default" : 12345 ,
3907
3913
"range_max" : 4294967295 ,
0 commit comments