Project

General

Profile

Actions

Feature #2240

closed

Full Multiple Interface Support

Added by Anonymous over 11 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Foreman multiple interface support is currently lacking compared to cobbler. It does not support bonded or subinterfaces in any way, and so far as I can tell there is no way to associate a device name with the interface name in foreman.

Cobbler on the other hand has fields that allow for entering the interface device name, fgqn, ip, netmask, bonding master, opts, mode, etc.

This makes it trivial to tack on this information in an enc script as parameters returned to puppet so you can automate configuration of anything from a single interfaces, to multiple bond interfaces each with multiple slaves (i.e., bond0 with eth0 and eth1 as slaves, and bond1 with eth2 and eth3 as slaves), to sub-interfaces (i.e, eth0:1) and so on.

The values can be printed out as the user prefers based on how they want to split it out so really it's just nice to have it all accessible , but today with cobbler it's easy to print out things like:
network_interfaces:
- bond0|static|192.168.1.1|255.255.254.0|master||true
- eth1|none|192.168.1.1|255.255.254.0|slave|bond0|true
- eth0|none|192.168.1.1|255.255.254.0|slave|bond0|true
- bond0:1|static|192.168.1.1||||true

split it out in a puppet module, and configure your interfaces.

Really all that is needed is to be able to input the additional information and have it available via https://<foreman_url>/hosts/<host>?format=json as what exists today is already available so it can be printed out however the user sees fit.

Interface ===== : eth0
Bonding Mode :
Bonding Master :
Bonding Opts :
DHCP Tag :
DNS Name :
IP Address :
MAC Address :
Static : False
Static Routes : []
Subnet :
Virt Bridge :


Related issues 5 (1 open4 closed)

Related to Foreman - Feature #2156: Be able to set netmask and not mac when using multiple nicsResolved01/24/2013Actions
Related to Foreman - Feature #2089: Expose network configuration via ENCClosedMarek Hulán01/02/2013Actions
Related to Foreman - Tracker #2409: NetworkingNew

Actions
Related to Foreman - Feature #3695: Add a device name to additional host interfacesResolved11/19/2013Actions
Related to Foreman - Feature #2241: @host.interfaces not populated in templatesResolvedOhad Levy02/21/2013Actions
Actions

Also available in: Atom PDF