Added minion module for (basic) Bridge management

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I started working on a Func module for bridge management. Currently, it works on EL5 and implements the following methods:

list() - Lists bridges
addbr(bridge) - Adds new bridge
delbr(bridge) - Deletes bridge (will need some nice error checking in the future)
addif(brname, ifname) - Adds ifname to bridge brname
delif(brname, ifname) - Deletes ifname from brname
addxenbr(brname, ifname) - Creates brname, adds interface ifname to it, sets the right mac address and sets all interfaces connected to the created bridge to up (basically what network-bridge in the xen scripts does I guess, but without changing names or transferring addresses).
upbr(brname) - Marks bridge brname and all interfaces connected to it up
downbr(brname) - Marks bridge brname and all interfaces connected to it down.

I set up a git repo you can pull changes from, this stuff is in the branch "bridge" (I'm new to git, is this the way to go?).
git://bender.newnewyork.nl/func
https://bender.newnewyork.nl/git/gitweb.cgi?p=func/.git;a=commit;h=18238c2f5c7dee39053f0040225a64a6fbe7497b

Kind regards,

Jasper Capel
Stone-IT

_______________________________________________
Func-list mailing list
Func-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/func-list

[Index of Archives]     [Fedora Users]     [Linux Networking]     [Fedora Legacy List]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux