Hello Yong,

You no longer require a network type in order to configure an IP address against an interface.  Therefore you can setup the ironic provisioning network interface without assigning a specific network to the interface.  Simply set the interface class to ‘platform’ and configure the required IP address.

 

Hope that helps.

 

Regards, Matt

 

From: "Hu, Yong" <yong.hu@intel.com>
Date: Monday, November 19, 2018 at 8:34 PM
To: "Waines, Greg" <Greg.Waines@windriver.com>, "Ho, Teresa" <Teresa.Ho@windriver.com>, "starlingx-discuss@lists.starlingx.io" <starlingx-discuss@lists.starlingx.io>
Subject: Re: [Starlingx-discuss] [Ironic] deploy bare metal by Ironic

 

Thanks Greg for sharing the setup procedures!

Well, I noticed “system host-if-modify” was changed, and we need a bit help here.

 

In the past, it seemed to directly support a “-nt” (network type) input, with which “control” type can be specified.

But currently “-nt” doesn’t exist anymore, and instead, another option “--networks <network name or id>” is provided.

It implies before running “system host-if-modify”, we need to use “system network-add” to create a network with a particular type:

<network type> Type of network [REQUIRED]

After looking through the code, I saw the network types are defined in “sysinv/sysinv/sysinv/sysinv/common/constants.py”:

 

# Interface definitions

NETWORK_TYPE_NONE = 'none'

NETWORK_TYPE_INFRA = 'infra'

NETWORK_TYPE_MGMT = 'mgmt'

NETWORK_TYPE_OAM = 'oam'

NETWORK_TYPE_BM = 'bm'

NETWORK_TYPE_MULTICAST = 'multicast'

NETWORK_TYPE_DATA = 'data'

NETWORK_TYPE_SYSTEM_CONTROLLER = 'system-controller'

 

NETWORK_TYPE_PCI_PASSTHROUGH = 'pci-passthrough'

NETWORK_TYPE_PCI_SRIOV = 'pci-sriov'

NETWORK_TYPE_PXEBOOT = 'pxeboot'

 

PLATFORM_NETWORK_TYPES = [NETWORK_TYPE_PXEBOOT,

                          NETWORK_TYPE_MGMT,

                          NETWORK_TYPE_INFRA,

                          NETWORK_TYPE_OAM]

 

PCI_NETWORK_TYPES = [NETWORK_TYPE_PCI_PASSTHROUGH,

                     NETWORK_TYPE_PCI_SRIOV]

 

The at this point, my question is:  for ironic network, *which network type should we set as the replacement of the previous “control” type??*

 

=======================================================================

Hi @Teresa, according to git log, I noticed you handled following changes mostly.

So, highly appreciate if you could provide some supports here. Thanks in advance!

 

Regards,

Yong

From: "Waines, Greg" <Greg.Waines@windriver.com>
Date: Tuesday, 20 November 2018 at 1:58 AM
To: "Hu, Yong" <yong.hu@intel.com>, "starlingx-discuss@lists.starlingx.io" <starlingx-discuss@lists.starlingx.io>
Subject: Re: [Starlingx-discuss] [Ironic] deploy bare metal by Ironic

 

Yes StarlingX does support Ironic.

 

Some quick notes on its usage:

 

... after that, create ironic nodes and boot Baremetal Instances on those nodes as described in the Ironic Documentation.

 

Greg.

 

 

From: "Hu, Yong" <yong.hu@intel.com>
Date: Tuesday, November 13, 2018 at 8:48 PM
To: "starlingx-discuss@lists.starlingx.io" <starlingx-discuss@lists.starlingx.io>
Subject: [Starlingx-discuss] [Ironic] deploy bare metal by Ironic

 

One customer asked how StarlingX supports bare metal support by Ironic.

And they mentioned Titanium Cloud used to support it well.

 

Anyone has the experience to deploy bare metal system by Ironic on StarlingX?

Suggests and feedbacks are much appreciated!