From f6d2d5eab554384e3a7ae40fbd48849756c2afb2 Mon Sep 17 00:00:00 2001 From: Roopa Prabhu Date: Wed, 9 Sep 2015 11:21:24 -0700 Subject: [PATCH] fix errors in examples that were generate warnings Ticket: Reviewed By: trivial Testing Done: Tested all example files with latest from 2.5.4 --- docs/examples/interfaces | 4 ---- docs/examples/interfaces_with_template | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/docs/examples/interfaces b/docs/examples/interfaces index df05fc1..67078f9 100644 --- a/docs/examples/interfaces +++ b/docs/examples/interfaces @@ -26,7 +26,6 @@ iface swp30 # bond interface auto bond3 iface bond3 inet static - address 100.0.0.4/16 bond-slaves swp1 swp2 bond-mode 802.3ad bond-miimon 100 @@ -38,7 +37,6 @@ iface bond3 inet static # bond interface auto bond4 iface bond4 inet static - address 100.0.0.6/16 bond-slaves swp3 swp4 bond-mode 802.3ad bond-miimon 100 @@ -59,11 +57,9 @@ iface br0 # vlan interface on bond auto bond3.2000 iface bond3.2000 inet static - address 100.1.0.4/16 auto bond4.2000 iface bond4.2000 inet static - address 100.1.0.6/16 auto br2000 iface br2000 inet6 static diff --git a/docs/examples/interfaces_with_template b/docs/examples/interfaces_with_template index 5a1cc58..af9d571 100644 --- a/docs/examples/interfaces_with_template +++ b/docs/examples/interfaces_with_template @@ -15,7 +15,7 @@ %for v in range(1000,1100): auto vlan-${v} iface vlan-${v} inet static - bridge-ports swp1-6.${v} + bridge-ports glob swp1-6.${v} bridge-stp on bridge-ageing 200 bridge-maxage 10