From 7a54458e172fa325d520970bd0dd84aece61f292 Mon Sep 17 00:00:00 2001 From: Alena Prokharchyk Date: Mon, 4 Mar 2013 16:15:16 -0800 Subject: [PATCH] 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 --- client/tomcatconf/commands.properties.in | 6 +++--- tools/apidoc/gen_toc.py | 3 +++ 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/client/tomcatconf/commands.properties.in b/client/tomcatconf/commands.properties.in index bbb3d3078ec..dd0c3f894fd 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 diff --git a/tools/apidoc/gen_toc.py b/tools/apidoc/gen_toc.py index 2fd855d75ad..6292c536a9d 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', }