On Sun, Nov 18, 2012 at 05:01:30AM -0500, Alona Kaplan wrote:
<snip>
> > > purge a network while it is connected to VMs: Link-Down on all nics
> > > and connect to the empty/no network. (Yes I know, it's not par of
> > > the
> > > feature, but you know someone will ask for it soon :))
>
> > It should not be hard to implement; In
> >
http://wiki.ovirt.org/wiki/Feature/DetailedNetworkWiring#New_API I
> > suggest passing
> > no 'network' element to mean "connected to nothing".
> >
> I don't really understand why changing the link state to down is not enough?
> What is the added value of connecting "unwired" nic to a none network?
It is not a big deal of a difference, but the semantics of having no
network is clear: you can run the VM if networks are missing, you can
remove a network when the VM is running. When a VM is associated to a
network, but its link state is down, the "right" semantics is more
vague.