CLOUDSTACK-1502 Fixed the api-doc build component caused by new API commands:
addIpToNic removeIpFromNic listNics 1) Removed trailing whitespaces from commands.properties file for the commands above 2) Created a new category "Nic" in gen_toc.py for the new commands Project: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/commit/7a54458e Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/7a54458e Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/7a54458e Branch: refs/heads/ui-multiple-nics Commit: 7a54458e172fa325d520970bd0dd84aece61f292 Parents: 48aa035 Author: Alena Prokharchyk <[email protected]> Authored: Mon Mar 4 16:15:16 2013 -0800 Committer: Alena Prokharchyk <[email protected]> Committed: Mon Mar 4 16:19:08 2013 -0800 ---------------------------------------------------------------------- client/tomcatconf/commands.properties.in | 6 +++--- tools/apidoc/gen_toc.py | 3 +++ 2 files changed, 6 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/7a54458e/client/tomcatconf/commands.properties.in ---------------------------------------------------------------------- diff --git a/client/tomcatconf/commands.properties.in b/client/tomcatconf/commands.properties.in index bbb3d30..dd0c3f8 100644 --- a/client/tomcatconf/commands.properties.in +++ b/client/tomcatconf/commands.properties.in @@ -327,9 +327,9 @@ removeNicFromVirtualMachine=15 updateDefaultNicForVirtualMachine=15 #### -addIpToNic=15; -removeIpFromNic=15; -listNics=15; +addIpToNic=15 +removeIpFromNic=15 +listNics=15 #### SSH key pair commands registerSSHKeyPair=15 http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/7a54458e/tools/apidoc/gen_toc.py ---------------------------------------------------------------------- diff --git a/tools/apidoc/gen_toc.py b/tools/apidoc/gen_toc.py index 2fd855d..6292c53 100644 --- a/tools/apidoc/gen_toc.py +++ b/tools/apidoc/gen_toc.py @@ -132,6 +132,9 @@ known_categories = { 'Condition': 'AutoScale', 'Api': 'API Discovery', 'Region': 'Region', + 'addIpToNic': 'Nic', + 'removeIpFromNic': 'Nic', + 'listNics':'Nic', }
