Re: dhcp6, radvd, ip6tables, etc. (update)

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

 



On 10/30/2012 02:28 PM, Laine Stump wrote:
I now realize that I am going to need to get into virsh net-update
>since I am adding things to the xml specification and net-update will
>need to differentiate between dhcp4 and dhcp6 changes.
>
>Another thought that occurs to me is whether there has any
>consideration been given having a "virsh net-restart" which would just
>restart dnsmasq and radvd.  Typing stuff in for the command line of
>net-update is a little prone to typos.
You can always put them in (temporary) files:-)

>   Wouldn't having net-edit and net-restart do what is intended for
>net-update.  Maybe there is a way to have net-update do the equivalent
>of net-edit/net-restart.  For example, if you only did "virsh
>net-update <network>" it would do it.
Oh so close and yet so far.

I have given the man-page for net-update a closer reading and now realize that I can use a terporary file and that scratch one of my itches. As I read through that documentation I saw the --parent-index which allows you to select which <ip> definition you are changing. Oh boy, this looks good. I can use that to select if I am updating the ipv4 or ipv6 specification. Sounds good! Too bad it does not work that way. You check the family and if it is not ipv4, you quit.

Going with a minimum change, I propose changing that test to allow ipv4 or ipv6.

BTW, there seem to be a number of things that do not work in net-update. Aside from dns-host, is there anything else that is not there yet?

Also, I am updating and re-basing my patches against v1.0.0-rc2. Is that a good choice for now?

Gene

Gene

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]