[RFE] Allow creating a port providing node name instead of UUID
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ironic |
Confirmed
|
Wishlist
|
M V P Nitesh |
Bug Description
Though the ironic node names are unique, there is no option to create a port using the node name. The Cli accepts only node uuid to create port.
Steps to reproduce:
1. Try creating two nodes with same name
[root@Mitaka4 ~(keystone_admin)]# ironic node-create -d pxe_ipmitool --name node1
+------
| Property | Value |
+------
| chassis_uuid | |
| driver | pxe_ipmitool |
| driver_info | {} |
| extra | {} |
| name | node1 |
| properties | {} |
| uuid | dc0b8f90-
+------
[root@Mitaka4 ~(keystone_admin)]# ironic node-create -d pxe_ipmitool --name node1
A node with name node1 already exists. (HTTP 409)
2. Try creating a port using the unique node name
[root@Mitaka4 ~(keystone_admin)]# ironic port-create -n node1 -a 36:56:90:AB:67:90
Expected a uuid but received node1. (HTTP 400)
User must be able to create port using node names.
Changed in ironic: | |
assignee: | nobody → Sharat Sharma (sharat-sharma) |
Changed in ironic: | |
status: | New → Incomplete |
status: | Incomplete → Confirmed |
tags: | added: rfe |
summary: |
- Create a port using node_name + [RFE] Allow creating a port providing node name instead of UUID |
Changed in ironic: | |
importance: | Undecided → Wishlist |
tags: | added: needs-spec |
Changed in ironic: | |
assignee: | Sharat Sharma (sharat-sharma) → M V P Nitesh (m-nitesh) |
Hi! We've discussed this RFE on the regular meeting, and we like the idea. Could you please post a short spec for it? Please follow the https:/ /wiki.openstack .org/wiki/ Ironic/ Specs_Process thanks!