|
116 | 116 | type: str |
117 | 117 | required: false |
118 | 118 | default: 'FABRIC-RMAP-REDIST-SUBNET' |
| 119 | + v6_redist_direct_rmap: |
| 120 | + description: |
| 121 | + - IPv6 Redistribute Direct Route Map |
| 122 | + type: str |
| 123 | + required: false |
| 124 | + default: 'FABRIC-RMAP-REDIST-SUBNET' |
119 | 125 | max_bgp_paths: |
120 | 126 | description: |
121 | 127 | - Max BGP Paths |
@@ -1460,6 +1466,7 @@ def update_create_params(self, vrf, vlan_id=""): |
1460 | 1466 | "mtu": vrf.get("vrf_int_mtu", ""), |
1461 | 1467 | "tag": vrf.get("loopback_route_tag", ""), |
1462 | 1468 | "vrfRouteMap": vrf.get("redist_direct_rmap", ""), |
| 1469 | + "v6VrfRouteMap": vrf.get("v6_redist_direct_rmap", ""), |
1463 | 1470 | "maxBgpPaths": vrf.get("max_bgp_paths", ""), |
1464 | 1471 | "maxIbgpPaths": vrf.get("max_ibgp_paths", ""), |
1465 | 1472 | "ipv6LinkLocalFlag": vrf.get("ipv6_linklocal_enable", True), |
@@ -1596,6 +1603,7 @@ def get_have(self): |
1596 | 1603 | "mtu": json_to_dict.get("mtu", 9216), |
1597 | 1604 | "tag": json_to_dict.get("tag", 12345), |
1598 | 1605 | "vrfRouteMap": json_to_dict.get("vrfRouteMap", ""), |
| 1606 | + "v6VrfRouteMap": json_to_dict.get("v6VrfRouteMap", ""), |
1599 | 1607 | "maxBgpPaths": json_to_dict.get("maxBgpPaths", 1), |
1600 | 1608 | "maxIbgpPaths": json_to_dict.get("maxIbgpPaths", 2), |
1601 | 1609 | "ipv6LinkLocalFlag": json_to_dict.get("ipv6LinkLocalFlag", True), |
@@ -2204,6 +2212,7 @@ def diff_merge_create(self, replace=False): |
2204 | 2212 | "mtu": json_to_dict.get("mtu"), |
2205 | 2213 | "tag": json_to_dict.get("tag"), |
2206 | 2214 | "vrfRouteMap": json_to_dict.get("vrfRouteMap"), |
| 2215 | + "v6VrfRouteMap": json_to_dict.get("v6VrfRouteMap"), |
2207 | 2216 | "maxBgpPaths": json_to_dict.get("maxBgpPaths"), |
2208 | 2217 | "maxIbgpPaths": json_to_dict.get("maxIbgpPaths"), |
2209 | 2218 | "ipv6LinkLocalFlag": json_to_dict.get("ipv6LinkLocalFlag"), |
@@ -2493,6 +2502,7 @@ def format_diff(self): |
2493 | 2502 | found_c.update({"vrf_int_mtu": json_to_dict.get("mtu", "")}) |
2494 | 2503 | found_c.update({"loopback_route_tag": json_to_dict.get("tag", "")}) |
2495 | 2504 | found_c.update({"redist_direct_rmap": json_to_dict.get("vrfRouteMap", "")}) |
| 2505 | + found_c.update({"v6_redist_direct_rmap": json_to_dict.get("v6VrfRouteMap", "")}) |
2496 | 2506 | found_c.update({"max_bgp_paths": json_to_dict.get("maxBgpPaths", "")}) |
2497 | 2507 | found_c.update({"max_ibgp_paths": json_to_dict.get("maxIbgpPaths", "")}) |
2498 | 2508 | found_c.update( |
@@ -2973,6 +2983,7 @@ def push_diff_create(self, is_rollback=False): |
2973 | 2983 | "mtu": json_to_dict.get("mtu"), |
2974 | 2984 | "tag": json_to_dict.get("tag"), |
2975 | 2985 | "vrfRouteMap": json_to_dict.get("vrfRouteMap"), |
| 2986 | + "v6VrfRouteMap": json_to_dict.get("v6VrfRouteMap"), |
2976 | 2987 | "maxBgpPaths": json_to_dict.get("maxBgpPaths"), |
2977 | 2988 | "maxIbgpPaths": json_to_dict.get("maxIbgpPaths"), |
2978 | 2989 | "ipv6LinkLocalFlag": json_to_dict.get("ipv6LinkLocalFlag"), |
@@ -3959,6 +3970,10 @@ def vrf_spec(self): |
3959 | 3970 | "default": "FABRIC-RMAP-REDIST-SUBNET", |
3960 | 3971 | "type": "str", |
3961 | 3972 | } |
| 3973 | + spec["v6_redist_direct_rmap"] = { |
| 3974 | + "default": "FABRIC-RMAP-REDIST-SUBNET", |
| 3975 | + "type": "str", |
| 3976 | + } |
3962 | 3977 | spec["rp_address"] = {"default": "", "type": "str"} |
3963 | 3978 | spec["rp_external"] = {"default": False, "type": "bool"} |
3964 | 3979 | spec["rp_loopback_id"] = {"default": "", "range_max": 1023, "type": "int"} |
|
0 commit comments