Dan Kenigsberg has submitted this change and it was merged.

Change subject: NetReload: netmodels for addNetwork
......................................................................


NetReload: netmodels for addNetwork

This patch defines the netwok entities that we use in oVirt:

- NetDevice,
- Bridge,
- Vlan,
- Bond,
- Nic

These entities are now responsible for their underlying devices for
the addNetwork step.

The interaction is as follows:

1. addNetwork -(generates netmodels via)-> objectivizeNetwork
2. "configure(logical_net)" is called on the top network device,
3. The top network device calls configure for its device type on the
   configurator, that in turn calls configure in any underlying device.

In a following patch, they shall take
responsibility as well for network deleting.

Change-Id: Iba5c5b84760e27245cbe34c3b290c54e51278e72
Signed-off-by: Antoni S. Puimedon <asegu...@redhat.com>
---
M lib/vdsm/netinfo.py
M tests/Makefile.am
M tests/configNetworkTests.py
A tests/netmodelsTests.py
M vdsm.spec.in
M vdsm/API.py
M vdsm/Makefile.am
M vdsm/configNetwork.py
M vdsm/netconf/ifcfg.py
A vdsm/netmodels.py
10 files changed, 661 insertions(+), 447 deletions(-)

Approvals:
  Antoni Segura Puimedon: Verified
  Dan Kenigsberg: Looks good to me, approved


--
To view, visit http://gerrit.ovirt.org/14303
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Iba5c5b84760e27245cbe34c3b290c54e51278e72
Gerrit-PatchSet: 22
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Antoni Segura Puimedon <asegu...@redhat.com>
Gerrit-Reviewer: Antoni Segura Puimedon <asegu...@redhat.com>
Gerrit-Reviewer: Dan Kenigsberg <dan...@redhat.com>
Gerrit-Reviewer: Giuseppe Vallarelli <gvall...@redhat.com>
Gerrit-Reviewer: Livnat Peer <lp...@redhat.com>
Gerrit-Reviewer: Mark Wu <wu...@linux.vnet.ibm.com>
Gerrit-Reviewer: oVirt Jenkins CI Server
_______________________________________________
vdsm-patches mailing list
vdsm-patches@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches

Reply via email to