should validate portgroup mode

Bug #1701156 reported by Seamanhanshan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ironic
In Progress
Low
Madhuri Kumari

Bug Description

Currently, portgroup mode accepts invalid value,
$ ironic portgroup-update a74705ad-6e77-4b42-be87-2f1d72868a25 replace mode=unknownmode
+----------------------------+--------------------------------------+
| Property | Value |
+----------------------------+--------------------------------------+
| address | 00:16:3e:79:6a:0a |
| created_at | 2017-06-06T01:15:57+00:00 |
| extra | {} |
| internal_info | {} |
| mode | unknownmode |
| name | None |
| node_uuid | bbe927a2-40ee-4546-a43c-c8469891f996 |
| properties | {} |
| standalone_ports_supported | True |
| updated_at | 2017-06-29T03:41:47+00:00 |
| uuid | a74705ad-6e77-4b42-be87-2f1d72868a25 |
+----------------------------+--------------------------------------+

In fact, ironic code should validate portgroup mode just like Linux bond driver does.

Tags: api
Revision history for this message
Madhuri Kumari (madhuri-rai07) wrote :

Hi,

Can I take this bug?

Changed in ironic:
assignee: nobody → Madhuri Kumari (madhuri-rai07)
Dmitry Tantsur (divius)
Changed in ironic:
status: New → Triaged
Dmitry Tantsur (divius)
Changed in ironic:
importance: Undecided → Low
tags: added: api
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to ironic (master)

Fix proposed to branch: master
Review: https://review.openstack.org/485491

Changed in ironic:
status: Triaged → In Progress
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.