Descriptiontestservice: version/network/details support
These changes are for juju-core project testing. They include new API endpoints:
- /version/
return capabilities, currently only networks-management
- /network/<name>/?op=list_connected_macs
returns list of MAC addresses connected to a network
- /nodes/<system_id>/?op=details
returns lshw XML as application/bson, the XML data should be added before with AddNodeDetails(systemId, xml) function
Now for API endpoint:
/networks?node=system_id
TestService returns empty list if node is not found or no networks are connected to the node.
It panicked before.
https://code.launchpad.net/~klyachin/gomaasapi/101-testserver-extensions/+merge/214961
(do not edit description out of merge proposal)
Patch Set 1 #
Total comments: 20
Patch Set 2 : testservice: version/network/details support #
MessagesTotal messages: 7
|