LLDP information inclusion
Allow collected LLDP information of the network architecture to be added to the node port.
Blueprint information
- Status:
- Not started
- Approver:
- None
- Priority:
- Undefined
- Drafter:
- YHVH
- Direction:
- Needs approval
- Assignee:
- None
- Definition:
- Drafting
- Series goal:
- None
- Implementation:
- Unknown
- Milestone target:
- None
- Started by
- Completed by
Related branches
Related bugs
Sprints
Whiteboard
Problem description
At the moment there is little support for servers not on a flat network. In order to make needed information available for such support in the future, we need a way to provide information about the network architecture being used by the server.
Proposed Change
The ironic inspector ought to provide a plugin that will collect additional information from the discovery image and send these to the ironic node’s port in order to be available for use by other drivers within ironic.
You would create a ramdisk within diskimage-builder using the net-infrastructure element. This builds off of the existing discovery element, but then installs and runs lldpad, collecting the following information:
TLV Name, Ramdisk Name, Example Value
Port ID, Chassis_intf, Ethernet6/17
Chassis ID, Chassis_id, 00:1c:73:3c:e1:ec
System Name, Sys_name, Ni100c1s1x
The names given within the ramdisk are specific and are used in the inspector plugin to collect this information from data.json, in the same manner as the other hardware information about the baremetal server.
Once the plugin receives the network information, it will update the ironic ports extra property and add the network information here.
Note: You need to add the plugin to ironic-
Projects
Openstack/
Openstack/
Work Items
- Make the ironic-inspector plugin to add collected information to extra property within the ironic port
- Provide unit test for plugin
- Create element within diskimage-builder to create a ramdisk with the capability to provide the LLDP information.
- Provide functionality test under devstack folder of openstack/
Dependencies
The plugin must be used in conjunction with the ramdisk, as the values are given specific names and will cause error if not present or incorrect. If another ramdisk is to be used, disable the plugin.
Implemented by:
ironic-inspector: https:/
Diskimagebuilder: https:/