Host network configuration for tagged and untagged networks on top of bonding using the API
Issue
There's a need to add a new host to RHEV and setup its network interfaces like this:
+------+ +-------+ -----------
| eth0 +---- | +-->( rhevm )
+------+ \--+ | -----------
| |
| | +------------+ -----------
| bond0 +---+ VLAN.123 +-->( vmnet1 )
| | +------------+ -----------
| | ... ...
+------+ /---+ | +------------+ -----------
| eth1 +--- | +---+ VLAN.XX +-->( vmnetXX )
+------+ +-------+ +------------+ -----------
where rhevm
is management only and vmnetNNN
are VM networks.
The rhevm
network is on the default VLAN, whereas each of the vmnetNNN
networks is on a tagged VLAN.
The requirements are:
-
Ability to add a host and initially configure the rhevm network as an untagged VLAN on top of bond0, plus maybe some VM network(s).
-
Ability to add and delete VM networks later.
-
This must be done using the RHEV API/SDK
Environment
Red Hat Enterprise Virtualization (RHEV) 3.2
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.