Project

General

Profile

Actions

Tracker #2409

open

Networking

Added by Jon Shanks over 11 years ago. Updated over 6 years ago.

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

0%

Difficulty:
Triaged:
No
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 56 (14 open42 closed)

Related to Foreman - Feature #2111: Add Foreman configuration values to ENC outputNew01/07/2013Actions
Related to Foreman - Feature #2240: Full Multiple Interface SupportClosed02/20/2013Actions
Related to Foreman - Feature #6444: Add ancestry NICs and allow interfaces with same MACClosedMarek Hulán06/30/2014Actions
Related to Foreman - Bug #3864: Change ignore_puppet_facts_for_provisioning default to trueRejected12/12/2013Actions
Related to Foreman - Feature #7401: Add support for bond interfacesClosedMarek Hulán09/10/2014Actions
Related to Foreman - Bug #7405: FreeBSD bond interfaces lead to constant switching of primary interfaceClosed09/10/2014Actions
Related to Foreman - Refactor #7456: Extract primary interface from hostClosedGreg Sutcliffe09/16/2014Actions
Related to Foreman - Refactor #7457: Rework static flag in provisioningDuplicate09/16/2014Actions
Related to Foreman - Feature #7458: Allow searching of hosts based on mac address (including all interfaces)ClosedMarek Hulán09/16/2014Actions
Related to Foreman - Feature #5458: Make setting static IP more user friendlyClosedMarek Hulán04/25/2014Actions
Related to Foreman - Refactor #7459: Rename Nic::Managed or merge with Nic::Interface classNew09/16/2014Actions
Related to Foreman - Feature #7460: Improve interfaces configuration in kickstart templatesNew09/16/2014Actions
Related to Foreman - Feature #7462: Improve user interface of interface configurationClosedTomáš Strachota09/16/2014Actions
Related to Foreman - Bug #4203: When using a compute resource, additional NICs don't work.Resolved01/28/2014Actions
Related to Foreman - Feature #7463: Support for bridge devicesClosedJulien Pivotto09/16/2014Actions
Related to Foreman - Feature #2089: Expose network configuration via ENCClosedMarek Hulán01/02/2013Actions
Related to Foreman - Feature #7469: Provide custom facts to improve network facts parsing experienceNew09/16/2014Actions
Related to Foreman - Bug #7470: Fix alias vs. vlan interface detection when parsing factsNew09/16/2014Actions
Related to Foreman - Feature #7471: Suggest new IP for interface link, similar to what we have for hostResolved09/16/2014Actions
Related to Foreman - Feature #7472: Improve autoupdate and autodeletion of interfaces based on factsNewTomáš Strachota09/16/2014Actions
Related to Foreman - Feature #7474: Allow boot mode to be overridden on interface levelNew09/16/2014Actions
Related to Foreman - Feature #7475: Debian post script to configure network interfacesClosed09/16/2014Actions
Related to Foreman - Feature #3695: Add a device name to additional host interfacesResolved11/19/2013Actions
Related to Foreman - Feature #2156: Be able to set netmask and not mac when using multiple nicsResolved01/24/2013Actions
Related to Foreman - Bug #2749: Failed to fetch bmc information: undefined method `downcase' for nil:NilClassClosedMarek Hulán07/05/2013Actions
Related to Foreman - Refactor #7829: Improve rendering of nic formsNew10/07/2014Actions
Related to Foreman - Bug #7830: Make interface API output specific per classClosedTomáš Strachota10/07/2014Actions
Related to Foreman - Feature #8086: Adding network interfaces that aren't dhcp-managedResolved10/23/2014Actions
Related to Foreman - Bug #8111: Openstack networking doesn't allow to set one DNS name per interfaceNew10/27/2014Actions
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.Resolved11/06/2014Actions
Related to Foreman - Bug #8362: Add help popup for IPAM and BootMode on Subnet#_formDuplicateGreg Sutcliffe11/12/2014Actions
Related to Foreman - Bug #8515: Display better errors if two interfaces with same MAC uses same DHCPNew11/26/2014Actions
Related to Foreman - Feature #7644: Link compute-profile network-interface with specific subnetNew09/26/2014Actions
Related to Katello - Feature #8841: Support new Foreman networking features in Katello templatesDuplicateStephen Benjamin01/06/2015Actions
Related to Foreman - Bug #8912: Foreman 1.7.1 Host/Nic seems to cause extra database loadResolved01/07/2015Actions
Related to Foreman - Refactor #9047: Remove legacy delegations to primary interface from HostNew01/20/2015Actions
Related to Foreman - Bug #9058: Changing organization/location when creating new host resets interfaces setupClosedTom Caspy01/21/2015Actions
Related to Foreman - Feature #9104: Disable auto network interfacesClosedMarek Hulán01/25/2015Actions
Related to Foreman - Bug #9160: Image based provisioning does not honor provision interfaceClosedMarek Hulán01/29/2015Actions
Related to Foreman - Bug #9186: Multinic migration db skiped for unmanaged hostsClosedMarek Hulán02/02/2015Actions
Related to Foreman - Bug #9170: Wrong nic order in libvirt domainClosed01/29/2015Actions
Related to Foreman - Bug #9227: Remove ip and mac attributesDuplicate02/04/2015Actions
Related to Foreman - Bug #9249: Associate host with vm fails for all compute resources but OvirtClosedTom Caspy02/06/2015Actions
Related to Foreman - Bug #9198: undefined method `to_enc' for #<Nic::Base:xxx> after migrating from older DBClosedMarek Hulán02/03/2015Actions
Related to Foreman - Bug #9287: Networking configuration snippet should be used during image based provisioningClosedMarek Hulán02/09/2015Actions
Related to Foreman - Bug #9296: Cannot change bond without mac address setRejectedBrad Crochet02/09/2015Actions
Related to Foreman - Bug #9265: Managed BMC interface does not get a DHCP IPNew02/06/2015Actions
Related to Foreman - Bug #9324: Suggest IP is not triggered for primary interfaceClosedTomáš Strachota02/11/2015Actions
Related to Foreman - Bug #9325: Editing interface in modal window resets compute resource NIC attributesClosedTomáš Strachota02/11/2015Actions
Related to Foreman - Bug #9351: Interfaces tab turns red with Not Found message if foreman is deployed on sub-uriClosedMarek Hulán02/12/2015Actions
Related to Foreman - Bug #9657: API for creating host can't merge NICs from compute profilesClosedTomáš Strachota03/05/2015Actions
Related to Foreman - Feature #10260: Allow interfaces management for unmanaged hostsClosedMarek Hulán04/24/2015Actions
Related to Foreman - Feature #10380: List static IP addresses that are assigned using the "Internal DB" method of IP Address ManagementNew05/05/2015Actions
Related to Foreman - Feature #3554: Enable provisioning on non-primary interfaceResolved11/01/2013Actions
Related to Foreman - Bug #12013: Cannot provision host because MAC address is supposedly takenClosedMarek Hulán09/30/2015Actions
Related to Foreman - Bug #12943: VLAN templating only works if specified in the subnet, not in the interfaceClosedMarek Hulán12/24/2015Actions
Actions #1

Updated by Dominic Cleal over 11 years ago

  • Category set to Network
  • Target version deleted (1.2.0)
Actions #2

Updated by Ohad Levy over 11 years ago

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

Actions #3

Updated by Dominic Cleal over 11 years ago

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

Updated by Ohad Levy over 10 years ago

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

Updated by Marek Hulán over 10 years ago

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

Updated by Marek Hulán over 10 years ago

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

Updated by Marek Hulán over 10 years ago

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

Updated by Marek Hulán over 10 years ago

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

Converting to tracker, issues for subtasks will follow

Actions #9

Updated by Marek Hulán over 10 years ago

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

Updated by Marek Hulán over 10 years ago

Actions #11

Updated by Marek Hulán over 10 years ago

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

Updated by Marek Hulán over 10 years ago

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

Updated by Marek Hulán over 10 years ago

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

Updated by Marek Hulán over 10 years ago

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

Updated by Marek Hulán over 10 years ago

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

Updated by Marek Hulán over 10 years ago

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

Updated by Marek Hulán over 10 years ago

Actions #18

Updated by Marek Hulán over 10 years ago

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

Updated by Marek Hulán over 10 years ago

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

Updated by Marek Hulán over 10 years ago

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

Updated by Marek Hulán over 10 years ago

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

Updated by Marek Hulán over 10 years ago

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

Updated by Marek Hulán over 10 years ago

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

Updated by Marek Hulán over 10 years ago

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

Updated by Marek Hulán over 10 years ago

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

Updated by Marek Hulán over 10 years ago

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

Updated by Ohad Levy about 10 years ago

  • Translation missing: en.field_release set to 21
Actions #28

Updated by Ohad Levy about 10 years ago

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

Updated by Marek Hulán about 10 years ago

Actions #30

Updated by Marek Hulán about 10 years ago

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

Updated by Dominic Cleal about 10 years ago

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

Updated by Romain Vrignaud about 10 years ago

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

Updated by Dominic Cleal about 10 years ago

  • Target version set to 1.7.2
Actions #34

Updated by Dominic Cleal about 10 years ago

  • Translation missing: en.field_release deleted (21)
Actions #35

Updated by Dominic Cleal about 10 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
Actions #36

Updated by Greg Sutcliffe about 10 years ago

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

Updated by Marek Hulán about 10 years ago

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

Updated by Dominic Cleal about 10 years ago

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

Updated by Stephen Benjamin almost 10 years ago

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

Updated by Dominic Cleal almost 10 years ago

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

Updated by Tomáš Strachota almost 10 years ago

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

Updated by Tomáš Strachota almost 10 years ago

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

Updated by Marek Hulán almost 10 years ago

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

Updated by Marek Hulán almost 10 years ago

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

Updated by Romain Vrignaud almost 10 years ago

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

Updated by Dominic Cleal almost 10 years ago

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

Updated by Dominic Cleal almost 10 years ago

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

Updated by Dominic Cleal almost 10 years ago

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

Updated by Marek Hulán almost 10 years ago

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

Updated by Marek Hulán almost 10 years ago

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

Updated by Marek Hulán almost 10 years ago

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

Updated by Dominic Cleal almost 10 years ago

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

Updated by Marek Hulán almost 10 years ago

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

Updated by Marek Hulán almost 10 years ago

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

Updated by Marek Hulán almost 10 years ago

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

Updated by Tomáš Strachota almost 10 years ago

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

Updated by Marek Hulán over 9 years ago

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

Updated by Marek Hulán over 9 years ago

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

Updated by Marek Hulán over 9 years ago

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

Updated by Marek Hulán about 9 years ago

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

Updated by Marek Hulán almost 9 years ago

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

Updated by Tomer Brisker over 6 years ago

  • Target version deleted (1.7.2)
Actions

Also available in: Atom PDF