Skip to content

Baremetal Introspection: Add hostname to introspection data#1617

Merged
jtopjian merged 1 commit intogophercloud:masterfrom
bcrochet:ironic-hostname
Jun 12, 2019
Merged

Baremetal Introspection: Add hostname to introspection data#1617
jtopjian merged 1 commit intogophercloud:masterfrom
bcrochet:ironic-hostname

Conversation

@bcrochet
Copy link
Copy Markdown
Contributor

A patch is being made to the Ironic Python Agent to return the hostname
that the introspected machine thinks it has. This enables Gophercloud
to pass that along.

For #1616

https://review.opendev.org/#/c/663991/

A patch is being made to the Ironic Python Agent to return the hostname
that the introspected machine thinks it has. This enables Gophercloud
to pass that along.

Requires: https://review.opendev.org/#/c/663991/
@coveralls
Copy link
Copy Markdown

Coverage Status

Coverage increased (+3.7%) to 80.539% when pulling 2b050a1 on bcrochet:ironic-hostname into 46d131b on gophercloud:master.

@coveralls
Copy link
Copy Markdown

coveralls commented Jun 11, 2019

Coverage Status

Coverage remained the same at 76.838% when pulling 2b050a1 on bcrochet:ironic-hostname into 46d131b on gophercloud:master.

@theopenlab-ci
Copy link
Copy Markdown

theopenlab-ci bot commented Jun 11, 2019

Build succeeded.

MACs []string `json:"macs"`
MemoryMB int `json:"memory_mb"`
RootDisk RootDiskType `json:"root_disk"`
Hostname string `json:"hostname,omitempty"`
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: omitempty is only needed for structs that will send a JSON body in an API request. Since this is a result, it's not needed. I'll fix this post-merge.

@jtopjian jtopjian merged commit a4af273 into gophercloud:master Jun 12, 2019
zaneb added a commit to zaneb/baremetal-operator that referenced this pull request Jun 13, 2019
This change pulls in:

 - Hostname support in Baremetal introspection
   gophercloud/gophercloud#1617
 - extra_hardware support for Baremetal introspection
   gophercloud/gophercloud#1611

Signed-off-by: Zane Bitter <zbitter@redhat.com>
zaneb added a commit to zaneb/baremetal-operator that referenced this pull request Jun 13, 2019
This change pulls in:

 - Hostname support in Baremetal introspection
   gophercloud/gophercloud#1617
 - extra_hardware support for Baremetal introspection
   gophercloud/gophercloud#1611

Signed-off-by: Zane Bitter <zbitter@redhat.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants