Jasper Capel wrote:
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
Yup, git repo setup looks good to me. I'll pull your branch and check it
out.
Adrian
_______________________________________________
Func-list mailing list
Func-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/func-list