ctys-xen-network-bridge

June, 2010



.

NAME

ctys-xen-network-bridge - adapted from the original script


SYNTAX


ctys-xen-network-bridge


    ctys-xen-network-bridge [options] [<action-arguments>] 




DESCRIPTION

ctys-xen-network-bridge is copied and adapted from the original script of Xen-3.0.3-25.0.4.el5 from CentOS-5.0 distribution for the UnifiedSessionsManager. This is preferred as an exceptional case, instead of a patch, because almost any second line is changed, even though for trace mainly. The intention is not to take ownership or claim any rights. The adaptation was neccessary, mainly due to debugging issues as an integral part for setting up WoL by PM, requiring a previous re-ordering and re-configuration of the IF targeted by WoL packets. The usage of the provided standard tool for Xen-ified machines was just the natural step. Anyhow, should be obsolete, when the so called MAGIC-PACKET(TM) could be set on a vif, other WoL-attributes, such as broadcast, seems to work already.

It is adapted in order of simplification of access grant for userland access. For ctys the "stop" case only is required when WoL has to be activated, thus this is the only verified call interface for now: ```network-bridge stop bridge=<bridge-to-stop> netdev=<netdev>

This will be compatible for an immediate switch-over to the original script, when preferred. Some minor patches for suppression of debugging flags might be required. For application and manual call the following has to be supported:

Because this is just an error-workaround, for erroneous setting of "wol g" by ethtool, it may be removed later. For additional information refer to Xen documentation.

.

OPTIONS

ctys-xen-network-bridge

All options are "optional".

bridge=<virtual-bridge>
The name of the virtual bridge to stop, for Xen this is frequently "xenbr0."

netdev=<original-network-device>
The name of the interface to stop, for Xen this is frequently "eth0" or "bond0".

vifnum=<virtual-netdev-num>
Normally not required, else frequently this is "0".

.

ARGUMENTS

Standard init argument.

.

EXIT-VALUES

0: OK:
Result is valid.

1: NOK:
Erroneous parameters.

2: NOK:
Missing an environment element like files or databases.


SEE ALSO

ffs.


AUTHOR

Written and maintained by Arno-Can Uestuensoez:

Maintenance: <<acue_sf1 (a) users sourceforge net>>
Homepage: <https://arnocan.wordpress.com>
Sourceforge.net: <http://sourceforge.net/projects/ctys>
Project moved from Berlios.de to OSDN.net: <https://osdn.net/projects/ctys>
Commercial: <https://arnocan.wordpress.com>




COPYRIGHT

Copyright (C) 2008, 2009, 2010, 2011 Ingenieurbuero Arno-Can Uestuensoez

For BASE package following licenses apply,

This document is part of the DOC package,

For additional information refer to enclosed Releasenotes and License files.