diff options
author | Hamdy Khader <hamdyk@mellanox.com> | 2019-02-19 14:48:19 +0200 |
---|---|---|
committer | Hamdy Khader <hamdyk@mellanox.com> | 2019-02-19 14:49:07 +0200 |
commit | 6a35003a7d47d83e1864a4d510bb6a6835fe217d (patch) | |
tree | 6c8dd6f548804bbb02a090577c5c1dfaa3ac1533 | |
parent | 071f31afbdd972603db6e08f721a856d1c92992b (diff) | |
download | python-ironicclient-6a35003a7d47d83e1864a4d510bb6a6835fe217d.tar.gz |
[Follow Up] Add 'hostname' to port's local link connection
Change-Id: I59d65e4e9385476bc6f00b7f1c688eaeeb4e3b57
-rw-r--r-- | ironicclient/osc/v1/baremetal_port.py | 8 | ||||
-rw-r--r-- | releasenotes/notes/add-hostname-to-port-local-link-connection-0d4ae64b0c24bf52.yaml | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/ironicclient/osc/v1/baremetal_port.py b/ironicclient/osc/v1/baremetal_port.py index d9bc61f..bc0468f 100644 --- a/ironicclient/osc/v1/baremetal_port.py +++ b/ironicclient/osc/v1/baremetal_port.py @@ -65,8 +65,8 @@ class CreateBaremetalPort(command.ShowOne): help=_("Key/value metadata describing Local link connection " "information. Valid keys are 'switch_info', 'switch_id', " "'port_id' and 'hostname'. The keys 'switch_id' and " - "'port_id' are required. In case of Smart NIC port, " - "the keys 'port_id' and 'hostname' are required. " + "'port_id' are required. In case of a Smart NIC port, " + "the required keys are 'port_id' and 'hostname'. " "Argument can be specified multiple times.") ) parser.add_argument( @@ -302,8 +302,8 @@ class SetBaremetalPort(command.Command): help=_("Key/value metadata describing local link connection " "information. Valid keys are 'switch_info', 'switch_id', " "'port_id' and 'hostname'. The keys 'switch_id' and " - "'port_id' are required. In case of Smart NIC port, " - "the keys 'port_id' and 'hostname' are required. " + "'port_id' are required. In case of a Smart NIC port, " + "the required keys are 'port_id' and 'hostname'. " "Argument can be specified multiple times.") ) pxe_enabled_group = parser.add_mutually_exclusive_group(required=False) diff --git a/releasenotes/notes/add-hostname-to-port-local-link-connection-0d4ae64b0c24bf52.yaml b/releasenotes/notes/add-hostname-to-port-local-link-connection-0d4ae64b0c24bf52.yaml index 920984e..1e0bc72 100644 --- a/releasenotes/notes/add-hostname-to-port-local-link-connection-0d4ae64b0c24bf52.yaml +++ b/releasenotes/notes/add-hostname-to-port-local-link-connection-0d4ae64b0c24bf52.yaml @@ -1,5 +1,5 @@ --- prelude: > Support Smart NIC ports. Adding local link connection attributes - 'port_id' and 'hostname' when creating port with port argument + ``port_id`` and ``hostname`` when creating port with port argument ``--is-smartnic`` means that it's a Smart NIC port. |