search for: brctl_cmd

Displaying 12 results from an estimated 12 matches for "brctl_cmd".

2007 Apr 18
1
[Bridge] patch for a message bug
...tion that Stephen applied for the first one, follows the patch against git plus a minor exclamation mark modification I did so that all ENODEV messages were exclamative (Stephen patch had missed that mark). Regards... -- Manty/BestiaTester -> http://manty.net diff -u -r bridge-utils.old/brctl/brctl_cmd.c bridge-utils-1.1/brctl/brctl_cmd.c --- bridge-utils.old/brctl/brctl_cmd.c 2006-08-26 19:31:23.000000000 +0200 +++ bridge-utils-1.1/brctl/brctl_cmd.c 2006-08-26 19:31:49.000000000 +0200 @@ -99,7 +99,7 @@ if (if_nametoindex(ifname) == 0) fprintf(stderr, "interface %s does not exist!\n...
2009 Aug 13
0
[Bridge] [PATCH] bridge-utils: Add 'hairpin' port forwarding mode
...df Hairpin forwarding requires support from the kernel. A further kernel patch 'net/bridge: Add 'hairpin' port forwarding mode' is provided for this. Signed-off-by: Paul Congdon <paul.congdon at hp.com> Signed-off-by: Anna Fischer <anna.fischer at hp.com> --- brctl/brctl_cmd.c | 38 ++++++++++++++++++++++++++++++++++++++ brctl/brctl_disp.c | 2 ++ libbridge/libbridge.h | 3 +++ libbridge/libbridge_devif.c | 24 ++++++++++++++++++++++++ 4 files changed, 67 insertions(+), 0 deletions(-) diff --git a/brctl/brctl_cmd.c b/brctl/brctl_cmd....
2009 Aug 13
0
[Bridge] [PATCH] bridge-utils: Add 'hairpin' port forwarding mode
...df Hairpin forwarding requires support from the kernel. A further kernel patch 'net/bridge: Add 'hairpin' port forwarding mode' is provided for this. Signed-off-by: Paul Congdon <paul.congdon at hp.com> Signed-off-by: Anna Fischer <anna.fischer at hp.com> --- brctl/brctl_cmd.c | 38 ++++++++++++++++++++++++++++++++++++++ brctl/brctl_disp.c | 2 ++ libbridge/libbridge.h | 3 +++ libbridge/libbridge_devif.c | 24 ++++++++++++++++++++++++ 4 files changed, 67 insertions(+), 0 deletions(-) diff --git a/brctl/brctl_cmd.c b/brctl/brctl_cmd....
2009 Aug 13
0
[Bridge] [PATCH] bridge-utils: Add 'hairpin' port forwarding mode
...df Hairpin forwarding requires support from the kernel. A further kernel patch 'net/bridge: Add 'hairpin' port forwarding mode' is provided for this. Signed-off-by: Paul Congdon <paul.congdon at hp.com> Signed-off-by: Anna Fischer <anna.fischer at hp.com> --- brctl/brctl_cmd.c | 38 ++++++++++++++++++++++++++++++++++++++ brctl/brctl_disp.c | 2 ++ libbridge/libbridge.h | 3 +++ libbridge/libbridge_devif.c | 24 ++++++++++++++++++++++++ 4 files changed, 67 insertions(+), 0 deletions(-) diff --git a/brctl/brctl_cmd.c b/brctl/brctl_cmd....
2009 Jun 15
0
[Bridge] [PATCH][RFC] bridge-utils: add basic VEPA support
...find additional information on VEPA here: http://tech.groups.yahoo.com/group/evb/ http://www.ieee802.org/1/files/public/docs2009/new-hudson-vepa_seminar-20090514d.pdf Signed-off-by: Paul Congdon <paul.congdon at hp.com> Signed-off-by: Anna Fischer <anna.fischer at hp.com> --- brctl/brctl_cmd.c | 108 ++++++++++++++++++++++++++++++++++++++++--- brctl/brctl_disp.c | 6 ++ libbridge/libbridge.h | 7 +++ libbridge/libbridge_devif.c | 90 ++++++++++++++++++++++++++++++++++- 4 files changed, 201 insertions(+), 10 deletions(-) diff --git a/brctl/brctl_cmd.c...
2009 Jun 15
0
[Bridge] [PATCH][RFC] bridge-utils: add basic VEPA support
...find additional information on VEPA here: http://tech.groups.yahoo.com/group/evb/ http://www.ieee802.org/1/files/public/docs2009/new-hudson-vepa_seminar-20090514d.pdf Signed-off-by: Paul Congdon <paul.congdon at hp.com> Signed-off-by: Anna Fischer <anna.fischer at hp.com> --- brctl/brctl_cmd.c | 108 ++++++++++++++++++++++++++++++++++++++++--- brctl/brctl_disp.c | 6 ++ libbridge/libbridge.h | 7 +++ libbridge/libbridge_devif.c | 90 ++++++++++++++++++++++++++++++++++- 4 files changed, 201 insertions(+), 10 deletions(-) diff --git a/brctl/brctl_cmd.c...
2009 Jun 15
0
[Bridge] [PATCH][RFC] bridge-utils: add basic VEPA support
...find additional information on VEPA here: http://tech.groups.yahoo.com/group/evb/ http://www.ieee802.org/1/files/public/docs2009/new-hudson-vepa_seminar-20090514d.pdf Signed-off-by: Paul Congdon <paul.congdon at hp.com> Signed-off-by: Anna Fischer <anna.fischer at hp.com> --- brctl/brctl_cmd.c | 108 ++++++++++++++++++++++++++++++++++++++++--- brctl/brctl_disp.c | 6 ++ libbridge/libbridge.h | 7 +++ libbridge/libbridge_devif.c | 90 ++++++++++++++++++++++++++++++++++- 4 files changed, 201 insertions(+), 10 deletions(-) diff --git a/brctl/brctl_cmd.c...
2007 Apr 18
0
[Bridge] [PATCH] Crash on "brctl stp br0"
...rctl provided that br0 is a bridge. This is caused by incorrect number of arguments in the commands table. "stp" needs at least 2 arguments after "stp". The patch against version 1.0.4 is attached. -- Regards, Pavel Roskin -------------- next part -------------- --- brctl/brctl_cmd.c +++ brctl/brctl_cmd.c @@ -394,7 +394,7 @@ static const struct command commands[] = "<bridge>\t\tshow a list of mac addrs"}, { 1, "showstp", br_cmd_showstp, "<bridge>\t\tshow bridge stp info"}, - { 1, "stp", br_cmd_stp, + { 2, "st...
2011 Aug 15
0
[PATCH node] Don't start ntp daemons until networking is started
...uot;\nStopping Network service") + log("\nStopping Network services") os.system("service network stop &> /dev/null") + os.system("service ntpd stop &> /dev/null") # XXX eth assumed in breth brctl_cmd = "brctl show|grep breth|awk '{print $1}'" brctl = subprocess.Popen(brctl_cmd, shell=True, stdout=PIPE, stderr=STDOUT) @@ -270,6 +276,8 @@ class Network: os.system(del_br_cmd) log("\nStarting Network service") os.sy...
2010 Oct 25
0
[PATCH node] add network.py script
...igured=1 + ovirt_store_config("/etc/sysconfig/network-scripts/ifcfg* NTP_CONFIG_FILE") + log("Network configured successfully") + if net_configured == 1: + os.system("service network stop > /dev/null 2>&1") + brctl_cmd = "brctl show|grep breth|awk '{print $1}'" + brctl = subprocess.Popen(brctl_cmd, shell=True, stdout=PIPE, stderr=STDOUT) + brctl_output = brctl.stdout.read() + for i in brctl_output.split(): + if_down_cmd = "ifconfig %s down&quo...
2011 Aug 11
1
[PATCH] fix augtool calls
parse input augtool strings to oper,key,value --- scripts/network.py | 32 ++++++++++++++++---------------- 1 files changed, 16 insertions(+), 16 deletions(-) diff --git a/scripts/network.py b/scripts/network.py index f51ee7c..65b551c 100644 --- a/scripts/network.py +++ b/scripts/network.py @@ -165,11 +165,11 @@ class Network: ntpconf = ntpconf.split("\n") for line
2007 Apr 18
5
[Bridge] RFC: [PATCH] bridge vlan integration
Hi, The attached patches enables the bridge to filter and forward packets according to their IEEE 802.1q headers. The goals behind this change include : - Enable running STP on 802.1q tagged networks. STP packets must be untagged. It isn't obvious how else to enable STP with the current bridge and vlan code. - Add native support for an untagged vlan. Currently an untagged vlan can