From 4dc5ccf18e4a07a14a851bbd550428db3b94e526 Mon Sep 17 00:00:00 2001 From: Sihui Han Date: Wed, 4 Apr 2018 17:39:11 +0000 Subject: [PATCH] [fanout]: remove vrf management in arista fanout deploy templates Signed-off-by: Sihui Han --- ansible/roles/fanout/templates/arista_7060_deploy.j2 | 2 +- ansible/roles/fanout/templates/arista_7260_deploy.j2 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ansible/roles/fanout/templates/arista_7060_deploy.j2 b/ansible/roles/fanout/templates/arista_7060_deploy.j2 index f1846d6c0e6..511cecb7bdf 100644 --- a/ansible/roles/fanout/templates/arista_7060_deploy.j2 +++ b/ansible/roles/fanout/templates/arista_7060_deploy.j2 @@ -87,7 +87,6 @@ interface {{ intf }} ! interface Management 1 description TO LAB MGMT SWITCH - vrf forwarding management ip address {{ device_info["ManagementIp"] }} no shutdown ! @@ -96,6 +95,7 @@ mac address-table reserved forward 0180.c200.0002 # LLDP packets pass through mac address-table reserved forward 0180.c200.000e ! +ip route 0.0.0.0/0 {{ device_info["ManagementGw"] }} ip route vrf management 0.0.0.0/0 {{ device_info["ManagementGw"] }} ! ip routing diff --git a/ansible/roles/fanout/templates/arista_7260_deploy.j2 b/ansible/roles/fanout/templates/arista_7260_deploy.j2 index 7e6e7df7bda..d016223b222 100644 --- a/ansible/roles/fanout/templates/arista_7260_deploy.j2 +++ b/ansible/roles/fanout/templates/arista_7260_deploy.j2 @@ -54,7 +54,6 @@ interface {{ intf }} ! interface Management 1 description TO LAB MGMT SWITCH - vrf forwarding management ip address {{ device_info["ManagementIp"] }} no shutdown ! @@ -63,6 +62,7 @@ mac address-table reserved forward 0180.c200.0002 # LLDP packets pass through mac address-table reserved forward 0180.c200.000e ! +ip route 0.0.0.0/0 {{ device_info["ManagementGw"] }} ip route vrf management 0.0.0.0/0 {{ device_info["ManagementGw"] }} ! ip routing