andrijapanicsb opened a new issue #74:
URL: https://github.com/apache/cloudstack-cloudmonkey/issues/74


   CMK 6.1
   
   [root@CSman ~]# $cli create domain name=Bootcamp999 
networkdomain=bootcamp999.local
   domain = 
{"haschild":false,"id":"6521008f-35bc-4195-ab06-f7710f38509a","level":1,"name":"Bootcamp999","networkdomain":"bootcamp999.local","parentdomainid":"fabe6af3-989f-11eb-a211-080027a86798","parentdomainname":"ROOT","path":"ROOT/Bootcamp999","secondarystoragetotal":0}
   
   ^^^ single line, instead of output in multiple lines, while JSON (see below) 
works fine.
   (need to test other create API's with CMK 6.1 (ACS 4.15), but while using 
cloudmonkey 5.3.3 with ACS 4.11 these "create" commands returned multiple lines 
with "default" output (which, afaik, was "text"), so one could grep i.e.  "ID" 
from the result of the "create. ...' command.
   
   [root@CSman ~]# $cli set display json
   [root@CSman ~]# $cli create domain name=Bootcamp9999 
networkdomain=bootcamp9999.local
   {
     "domain": {
       "haschild": false,
       "id": "4ab43807-32c0-4883-a822-22d59292f08f",
       "level": 1,
       "name": "Bootcamp9999",
       "networkdomain": "bootcamp9999.local",
       "parentdomainid": "fabe6af3-989f-11eb-a211-080027a86798",
       "parentdomainname": "ROOT",
       "path": "ROOT/Bootcamp9999",
       "secondarystoragetotal": 0
     }
   }


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to