fuelclient fuel node --node should take node id or mac

Bug #1273092 reported by Andrew Woodward
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
Medium
Alexandr Notchenko

Bug Description

There are times when the node id's shift around or that you cant guarantee that the node id is the number of the node you want, there for the node should be able to be called from wherever the node is given by id or full mac (and partial mac if feasible).

This is a must have to making this a scripting friendly interface

Andrew Woodward (xarses)
tags: added: nailgun
Dmitry Pyzhov (dpyzhov)
Changed in fuel:
status: New → Confirmed
Changed in fuel:
assignee: Fuel Python Team (fuel-python) → Alexandr Notchenko (anotchenko)
Changed in fuel:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-web (master)

Reviewed: https://review.openstack.org/70768
Committed: https://git.openstack.org/cgit/stackforge/fuel-web/commit/?id=4bd7947bff4ba0b7be9e85d7b5fdd4fecc1fd360
Submitter: Jenkins
Branch: master

commit 4bd7947bff4ba0b7be9e85d7b5fdd4fecc1fd360
Author: Alexandr Notchenko <email address hidden>
Date: Mon Feb 3 20:55:52 2014 +0400

    Enable accepting short mac for node ids

     This fix makes possible to select nodes with short macs.
     e.g: fuel --env 1 node --node 6h:67,13:d3,7 --list
     Also added new method to tests, and expanded existing
     node tests to check for mac selects.

     Node data validation also implemented.

     Closes-Bug: #1273092

    Change-Id: I1aaab3e24ef772d309c7832da0c55c583470893a

Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
Nikolay Fedotov (nfedotov) wrote :

Verified on ISO: {"build_id": "2014-02-07_01-17-30", "ostf_sha": "d15d6b5b952e455e3afff383413ffa6d89ee7981", "build_number": "101", "nailgun_sha": "2d6aa79b9ed01ba166a0db543e19cd6d1d844503", "fuelmain_sha": "ba75cff62a8314842ac29895bfc52fb923389647", "astute_sha": "d002c3bf626cff96a1d4aec9eb92fc4d5f4542c4", "release": "4.1", "fuellib_sha": "a24052b3aed97b01d98362c04450e61a05e5fbab"}

Changed in fuel:
status: Fix Committed → Fix Released
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.