Skip to content

Commit 446e66a

Browse files
committed
feat: enable management vrf
Signed-off-by: Benjamin Ritter <benjamin.ritter@x-cellent.com>
1 parent ec8fc84 commit 446e66a

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

images/sonic/launch.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -385,6 +385,11 @@ def create_config_db(hwsku: str) -> dict:
385385
'gwaddr': get_default_gateway(),
386386
}
387387
},
388+
'MGMT_VRF_CONFIG': {
389+
'vrf_global': {
390+
'mgmtVrfEnabled': 'true'
391+
}
392+
},
388393
'MGMT_PORT': {
389394
'eth0': {
390395
'alias': 'eth0',

inventories/group_vars/leaves/main.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ sonic_config_mgmt_interface:
1414
ip: "{{ ansible_host }}/16`"
1515
gateway_address: "172.42.0.1"
1616

17-
sonic_config_mgmt_vrf: false
17+
sonic_config_mgmt_vrf: true
1818
sonic_config_nameservers: "{{ router_nameservers }}"
1919

2020
sonic_config_vlans:

0 commit comments

Comments
 (0)