Project

General

Profile

Tracker #2409

Networking

Added by Jon Shanks about 6 years ago. Updated 9 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Network
Target version:
-
% Done:

0%

Difficulty:
Triaged:
No
Bugzilla link:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

To support networking within foreman. This is more the concept of a nice data structure for networking. This would be

eth | bond | vlan | bridge

Bearing in mind RHEL 6 versions with SMBIOS 2.6 will have the devbiosname convention so eth may not be applicable in terms of the device. I guess the provisioning templates would need to be setup in a way to interpret the data held in a generic way, but that data be available from the API / internally as other data is now.

Perhaps this would be better abstracted like the disk layout is and having a network management area that can deal with this. Currently i have implemented python code, which pulls all the host parameter data (there is a bug request for this to be available via the api) filters on specific named variables; i've chosen:

eth|vlan|bond as this is the use case for ourselves, but probably will be greater in other places.

The validation i have performed is:

1) A VLAN has to have vlan???_device defined to know what device to associate the vlan with
2) bond?_interfaces also has to be defined to know the interfaces
3) bond?_interfaces also will check whether those interfaces have also been configured by mistake with address details and there is a conflict there.
4) An IP has to have a netmask
5) A netmask or gateway has to have an IP defined

If it's a plain eth it can be configured as expected, if eth is in a bond it obviously will have different elements.

It is also nice that currently with host paramters, you can override i.e. i could define a bond mechanism i.e. eth0,eth1 for bond0 and that be inherited and if necessary can be overriden, this is useful for standardising on bond configurations, so that feature would also be useful if it is done within foreman.

Hope this information helps.


Related issues

Related to Foreman - Feature #2111: Add Foreman configuration values to ENC outputNew2013-01-07
Related to Foreman - Feature #2240: Full Multiple Interface SupportClosed2013-02-20
Related to Foreman - Feature #6444: Add ancestry NICs and allow interfaces with same MACClosed2014-06-30
Related to Foreman - Bug #3864: Change ignore_puppet_facts_for_provisioning default to trueRejected2013-12-12
Related to Foreman - Feature #7401: Add support for bond interfacesClosed2014-09-10
Related to Foreman - Bug #7405: FreeBSD bond interfaces lead to constant switching of primary interfaceClosed2014-09-10
Related to Foreman - Refactor #7456: Extract primary interface from hostClosed2014-09-16
Related to Foreman - Refactor #7457: Rework static flag in provisioningDuplicate2014-09-16
Related to Foreman - Feature #7458: Allow searching of hosts based on mac address (including all interfaces)Closed2014-09-16
Related to Foreman - Feature #5458: Make setting static IP more user friendlyClosed2014-04-25
Related to Foreman - Refactor #7459: Rename Nic::Managed or merge with Nic::Interface classNew2014-09-16
Related to Foreman - Feature #7460: Improve interfaces configuration in kickstart templatesNew2014-09-16
Related to Foreman - Feature #7462: Improve user interface of interface configurationClosed2014-09-16
Related to Foreman - Bug #4203: When using a compute resource, additional NICs don't work.Resolved2014-01-28
Related to Foreman - Feature #7463: Support for bridge devicesClosed2014-09-16
Related to Foreman - Feature #2089: Expose network configuration via ENCClosed2013-01-02
Related to Foreman - Feature #7469: Provide custom facts to improve network facts parsing experienceNew2014-09-16
Related to Foreman - Bug #7470: Fix alias vs. vlan interface detection when parsing factsNew2014-09-16
Related to Foreman - Feature #7471: Suggest new IP for interface link, similar to what we have for hostResolved2014-09-16
Related to Foreman - Feature #7472: Improve autoupdate and autodeletion of interfaces based on factsNew2014-09-16
Related to Foreman - Feature #7474: Allow boot mode to be overridden on interface levelNew2014-09-16
Related to Foreman - Feature #7475: Debian post script to configure network interfacesClosed2014-09-16
Related to Foreman - Feature #3695: Add a device name to additional host interfacesResolved2013-11-19
Related to Foreman - Feature #2156: Be able to set netmask and not mac when using multiple nicsResolved2013-01-24
Related to Foreman - Bug #2749: Failed to fetch bmc information: undefined method `downcase' for nil:NilClassClosed2013-07-05
Related to Foreman - Refactor #7829: Improve rendering of nic formsNew2014-10-07
Related to Foreman - Bug #7830: Make interface API output specific per classClosed2014-10-07
Related to Foreman - Feature #8086: Adding network interfaces that aren't dhcp-managedResolved2014-10-23
Related to Foreman - Bug #8111: Openstack networking doesn't allow to set one DNS name per interfaceNew2014-10-27
Related to Foreman - Feature #8312: As an provisioner, I would like the ability to supply a FQDN for the BMC address instead of an IP.Resolved2014-11-06
Related to Foreman - Bug #8362: Add help popup for IPAM and BootMode on Subnet#_formDuplicate2014-11-12
Related to Foreman - Bug #8515: Display better errors if two interfaces with same MAC uses same DHCPNew2014-11-26
Related to Foreman - Feature #7644: Link compute-profile network-interface with specific subnetNew2014-09-26
Related to Katello - Feature #8841: Support new Foreman networking features in Katello templatesDuplicate2015-01-06
Related to Foreman - Bug #8912: Foreman 1.7.1 Host/Nic seems to cause extra database loadResolved2015-01-07
Related to Foreman - Refactor #9047: Remove legacy delegations to primary interface from HostNew2015-01-20
Related to Foreman - Bug #9058: Changing organization/location when creating new host resets interfaces setupClosed2015-01-21
Related to Foreman - Feature #9104: Disable auto network interfacesClosed2015-01-25
Related to Foreman - Bug #9160: Image based provisioning does not honor provision interfaceClosed2015-01-29
Related to Foreman - Bug #9186: Multinic migration db skiped for unmanaged hostsClosed2015-02-02
Related to Foreman - Bug #9170: Wrong nic order in libvirt domainClosed2015-01-29
Related to Foreman - Bug #9227: Remove ip and mac attributesDuplicate2015-02-04
Related to Foreman - Bug #9249: Associate host with vm fails for all compute resources but OvirtClosed2015-02-06
Related to Foreman - Bug #9198: undefined method `to_enc' for #<Nic::Base:xxx> after migrating from older DBClosed2015-02-03
Related to Foreman - Bug #9287: Networking configuration snippet should be used during image based provisioningClosed2015-02-09
Related to Foreman - Bug #9296: Cannot change bond without mac address setRejected2015-02-09
Related to Foreman - Bug #9265: Managed BMC interface does not get a DHCP IPNew2015-02-06
Related to Foreman - Bug #9324: Suggest IP is not triggered for primary interfaceClosed2015-02-11
Related to Foreman - Bug #9325: Editing interface in modal window resets compute resource NIC attributesClosed2015-02-11
Related to Foreman - Bug #9351: Interfaces tab turns red with Not Found message if foreman is deployed on sub-uriClosed2015-02-12
Related to Foreman - Bug #9657: API for creating host can't merge NICs from compute profilesClosed2015-03-05
Related to Foreman - Feature #10260: Allow interfaces management for unmanaged hostsClosed2015-04-24
Related to Foreman - Feature #10380: List static IP addresses that are assigned using the "Internal DB" method of IP Address ManagementNew2015-05-05
Related to Foreman - Feature #3554: Enable provisioning on non-primary interfaceResolved2013-11-01
Related to Foreman - Bug #12013: Cannot provision host because MAC address is supposedly takenClosed2015-09-30
Related to Foreman - Bug #12943: VLAN templating only works if specified in the subnet, not in the interfaceClosed2015-12-24

History

#1 Updated by Dominic Cleal about 6 years ago

  • Category set to Network
  • Target version deleted (1.2.0)

#2 Updated by Ohad Levy about 6 years ago

I guess this mostly match to the existing interfaces structure, maybe we just need to allow accessing them via templates/enc data?

#3 Updated by Dominic Cleal over 5 years ago

  • Related to Feature #2240: Full Multiple Interface Support added

#4 Updated by Ohad Levy over 4 years ago

  • Related to Feature #6444: Add ancestry NICs and allow interfaces with same MAC added

#5 Updated by Marek Hulán over 4 years ago

  • Related to Bug #3864: Change ignore_puppet_facts_for_provisioning default to true added

#6 Updated by Marek Hulán over 4 years ago

  • Related to Feature #7401: Add support for bond interfaces added

#7 Updated by Marek Hulán over 4 years ago

  • Related to Bug #7405: FreeBSD bond interfaces lead to constant switching of primary interface added

#8 Updated by Marek Hulán over 4 years ago

  • Tracker changed from Feature to Tracker
  • Description updated (diff)

Converting to tracker, issues for subtasks will follow

#9 Updated by Marek Hulán over 4 years ago

  • Related to Refactor #7456: Extract primary interface from host added

#10 Updated by Marek Hulán over 4 years ago

#11 Updated by Marek Hulán over 4 years ago

  • Related to Feature #7458: Allow searching of hosts based on mac address (including all interfaces) added

#12 Updated by Marek Hulán over 4 years ago

  • Related to Feature #5458: Make setting static IP more user friendly added

#13 Updated by Marek Hulán over 4 years ago

  • Related to Refactor #7459: Rename Nic::Managed or merge with Nic::Interface class added

#14 Updated by Marek Hulán over 4 years ago

  • Related to Feature #7460: Improve interfaces configuration in kickstart templates added

#15 Updated by Marek Hulán over 4 years ago

  • Related to Feature #7462: Improve user interface of interface configuration added

#16 Updated by Marek Hulán over 4 years ago

  • Related to Bug #4203: When using a compute resource, additional NICs don't work. added

#17 Updated by Marek Hulán over 4 years ago

#18 Updated by Marek Hulán over 4 years ago

  • Related to Feature #2089: Expose network configuration via ENC added

#19 Updated by Marek Hulán over 4 years ago

  • Related to Feature #7469: Provide custom facts to improve network facts parsing experience added

#20 Updated by Marek Hulán over 4 years ago

  • Related to Bug #7470: Fix alias vs. vlan interface detection when parsing facts added

#21 Updated by Marek Hulán over 4 years ago

  • Related to Feature #7471: Suggest new IP for interface link, similar to what we have for host added

#22 Updated by Marek Hulán over 4 years ago

  • Related to Feature #7472: Improve autoupdate and autodeletion of interfaces based on facts added

#23 Updated by Marek Hulán over 4 years ago

  • Related to Feature #7474: Allow boot mode to be overridden on interface level added

#24 Updated by Marek Hulán over 4 years ago

  • Related to Feature #7475: Debian post script to configure network interfaces added

#25 Updated by Marek Hulán over 4 years ago

  • Related to Feature #3695: Add a device name to additional host interfaces added

#26 Updated by Marek Hulán over 4 years ago

  • Related to Feature #2156: Be able to set netmask and not mac when using multiple nics added

#27 Updated by Ohad Levy over 4 years ago

  • Legacy Backlogs Release (now unused) set to 21

#28 Updated by Ohad Levy over 4 years ago

  • Related to Bug #2749: Failed to fetch bmc information: undefined method `downcase' for nil:NilClass added

#29 Updated by Marek Hulán over 4 years ago

#30 Updated by Marek Hulán over 4 years ago

  • Related to Bug #7830: Make interface API output specific per class added

#31 Updated by Dominic Cleal over 4 years ago

  • Related to Feature #8086: Adding network interfaces that aren't dhcp-managed added

#32 Updated by Romain Vrignaud over 4 years ago

  • Related to Bug #8111: Openstack networking doesn't allow to set one DNS name per interface added

#33 Updated by Dominic Cleal over 4 years ago

  • Target version set to 1.7.2

#34 Updated by Dominic Cleal over 4 years ago

  • Legacy Backlogs Release (now unused) deleted (21)

#35 Updated by Dominic Cleal over 4 years ago

  • Related to Feature #8312: As an provisioner, I would like the ability to supply a FQDN for the BMC address instead of an IP. added

#36 Updated by Greg Sutcliffe over 4 years ago

  • Related to Bug #8362: Add help popup for IPAM and BootMode on Subnet#_form added

#37 Updated by Marek Hulán over 4 years ago

  • Related to Bug #8515: Display better errors if two interfaces with same MAC uses same DHCP added

#38 Updated by Dominic Cleal over 4 years ago

  • Related to Feature #7644: Link compute-profile network-interface with specific subnet added

#39 Updated by Stephen Benjamin over 4 years ago

  • Related to Feature #8841: Support new Foreman networking features in Katello templates added

#40 Updated by Dominic Cleal over 4 years ago

  • Related to Bug #8912: Foreman 1.7.1 Host/Nic seems to cause extra database load added

#41 Updated by Tomáš Strachota about 4 years ago

  • Related to Refactor #9047: Remove legacy delegations to primary interface from Host added

#42 Updated by Tomáš Strachota about 4 years ago

  • Related to Bug #9058: Changing organization/location when creating new host resets interfaces setup added

#43 Updated by Marek Hulán about 4 years ago

  • Related to Feature #9104: Disable auto network interfaces added

#44 Updated by Marek Hulán about 4 years ago

  • Related to Bug #9160: Image based provisioning does not honor provision interface added

#45 Updated by Romain Vrignaud about 4 years ago

  • Related to Bug #9186: Multinic migration db skiped for unmanaged hosts added

#46 Updated by Dominic Cleal about 4 years ago

  • Related to Bug #9170: Wrong nic order in libvirt domain added

#47 Updated by Dominic Cleal about 4 years ago

  • Related to Bug #9227: Remove ip and mac attributes added

#48 Updated by Dominic Cleal about 4 years ago

  • Related to Bug #9249: Associate host with vm fails for all compute resources but Ovirt added

#49 Updated by Marek Hulán about 4 years ago

  • Related to Bug #9198: undefined method `to_enc' for #<Nic::Base:xxx> after migrating from older DB added

#50 Updated by Marek Hulán about 4 years ago

  • Related to Bug #9287: Networking configuration snippet should be used during image based provisioning added

#51 Updated by Marek Hulán about 4 years ago

  • Related to Bug #9296: Cannot change bond without mac address set added

#52 Updated by Dominic Cleal about 4 years ago

  • Related to Bug #9265: Managed BMC interface does not get a DHCP IP added

#53 Updated by Marek Hulán about 4 years ago

  • Related to Bug #9324: Suggest IP is not triggered for primary interface added

#54 Updated by Marek Hulán about 4 years ago

  • Related to Bug #9325: Editing interface in modal window resets compute resource NIC attributes added

#55 Updated by Marek Hulán about 4 years ago

  • Related to Bug #9351: Interfaces tab turns red with Not Found message if foreman is deployed on sub-uri added

#56 Updated by Tomáš Strachota about 4 years ago

  • Related to Bug #9657: API for creating host can't merge NICs from compute profiles added

#57 Updated by Marek Hulán almost 4 years ago

  • Related to Feature #10260: Allow interfaces management for unmanaged hosts added

#58 Updated by Marek Hulán almost 4 years ago

  • Related to Feature #10380: List static IP addresses that are assigned using the "Internal DB" method of IP Address Management added

#59 Updated by Marek Hulán almost 4 years ago

  • Related to Feature #3554: Enable provisioning on non-primary interface added

#60 Updated by Marek Hulán over 3 years ago

  • Related to Bug #12013: Cannot provision host because MAC address is supposedly taken added

#61 Updated by Marek Hulán over 3 years ago

  • Related to Bug #12943: VLAN templating only works if specified in the subnet, not in the interface added

#62 Updated by Tomer Brisker 9 months ago

  • Target version deleted (1.7.2)

Also available in: Atom PDF