Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds client side functions for quantum 'detail' actions.
Fixes bug 834017. This commit: 1. Adds library functions to exercise the 'detail' actions for quantum ports and networks. 2. Modifies client function 'show_port_details()' to invoke 'detail' action. And added 'show_port()' function to do the regular call without 'detail'. 3. Adds CLIs to exercise the new client function calls. The CLIs options that end with '_detail' invoke equivalent 'detail' action. Note that with this change the previous CLI 'show_port' shall now show concise info about a port ie. only ID and state, while 'show_port_detail' can be used to list the detailed information about a port viz. ID, state and its attachment. 4. Modifies OutputTemplate class to add support for templates with 3 or more level attributes (eg. "Port interface: %(port.attachment.id)s) and templates containing list of multilevel-attributes (eg. "Ports: %(network.ports|ID: %(id)s\t\tinterface: %(attachment.id)s)s") 5. Added respective unit tests and verified them. Change-Id: I464824abea5ef0c99c466b71c1e883b492d60d62
- Loading branch information
Showing
5 changed files
with
751 additions
and
93 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.