From 9c0ca92a63309a348129b2ac002a32bd164966c5 Mon Sep 17 00:00:00 2001 From: root Date: Wed, 9 Apr 2014 02:39:49 -0700 Subject: [PATCH] wangjunxiaw update genrestapidoc code --- xCAT-server/xCAT-wsapi/genrestapidoc.pm | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/xCAT-server/xCAT-wsapi/genrestapidoc.pm b/xCAT-server/xCAT-wsapi/genrestapidoc.pm index 767ad9262..3ea638504 100755 --- a/xCAT-server/xCAT-wsapi/genrestapidoc.pm +++ b/xCAT-server/xCAT-wsapi/genrestapidoc.pm @@ -57,8 +57,11 @@ my @apigroups = ( resources => ['osimage', 'osimage_allattr', 'osimage_attr', 'osimage_op'] }, { - # groupname => 'network', - resources => ['network', 'network_allattr'] + groupname => 'networks', + header => "Network Resources", + desc => "The URI list which can be used to create, query, change and manage network objects.", + resources => ['allnetwork', 'network_allattr','network_attr'] + }, );