[Bug 1027154] Re: need way to get system based on mac address

Raphaël Badin 1027154 at bugs.launchpad.net
Fri Jul 20 16:48:18 UTC 2012


I see two possible solutions to that problem:
a) we could add a "lookup" method to the API.  The method would return a list of system IDs from a set of criteria (mac adress would be one of the possible criteria).
b) or, if we want to promote the mac address as an identifier, we could allow the mac to be used as an identifier when calling the API: e.g. the definition of the API url for a node handler would be: r'nodes/(?P<system_id_or_mac_address>[\w\-]+)/$'
Given the fact that the system id is auto-generated (and UUID-based) and that the mac address has a well defined format, there is no risk of conflict.

** Changed in: maas
   Importance: Undecided => High

** Changed in: maas
       Status: New => Triaged

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to maas in Ubuntu.
https://bugs.launchpad.net/bugs/1027154

Title:
  need way to get system based on mac address

To manage notifications about this bug go to:
https://bugs.launchpad.net/maas/+bug/1027154/+subscriptions



More information about the Ubuntu-server-bugs mailing list