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

[Ovirt-devel] Configuring nics on the server



Fields needed:

 * a drop down for the list of nics and bonded interfaces on the node
 * a drop down with the list of boot types (from the boot_types table)
  * an additional field is present when there are bondings on the node,
    labeled "Enslaved to bonding" (or something similar), that, when
    selected, shows a dropdown of the bonded interfaces
 * (opt) field for setting the IP address for the nic
 * (opt) field for setting the netmask for the nic
 * (opt) field for settign the broadcast address for the nic
 * a drop down with the list of bonded interfaces for the node
 * a section for defining a new bonded interface, including:
   * a drop down to select the type of bonding (from bonding_types table)
   * a field to enter the alias for the bonding
   * a submit button for the bonding details
   * a submit button to delete the bonded interface

Use cases:

1. Configuring a nic with a static IP address:
 * the user selects a nic from the drop down
 * the user selects "Static" from the boot type drop down
 * the ip address, netmask and broadcast fields are show
 * the user enters the three pieces of data and submits
 * the nics table is updated

2. Configuring a nic for DHCP or BOOTP:
 * the user selects a nic from the drop down
 * the user selects either "DHCP" or "BOOTP" from the boot type drop down
 * the user submits
 * the nics table is updated

3. Creating a bonded interface:
 * the user enters the IP address, netmask and broadcast details for the
   bonded interface
 * the user clicks the submit button
 * a new record is inserted into the bondings table

4. Deleting a bonded interface:
 * the user selects a bonded interface from the drop down
 * the details are shown in the fields
 * the user clicks the delete button
* the row is removed from the bondings table * any nic previously enslaved to that interface is set to "DHCP"

5. Enslaving a nic to a bonded interface:
 * the user selects a nic
 * the user selects the "Enslaved" boot type
 * the drop down listing the bonded interface is shown
 * the user selects a bonded interface and clicks submit
 * a new record is created in the bondings_nics table

6. Releasing a nic from a bonded interface:
 * the user selects the nic
 * the user selects a different boot type
 * the bonded interface list is hidden
 * updating the nic continues like use case 1/2 above

I think this is a good starting point. Questions?

--
Darryl L. Pierce <dpierce redhat com> : GPG KEYID: 6C4E7F1

Attachment: pgpZIJo8rkzZZ.pgp
Description: PGP signature


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