Host network configuration for tagged and untagged networks on top of bonding using the API

Solution Verified - Updated -

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:

  1. 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).

  2. Ability to add and delete VM networks later.

  3. 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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In