Alas, I can't find a concise documentation of the api easily.
What I can find easily is the CLI code that does what you want [1]. In this 
context 'aaa' is the action being performed, and for allocation its value is 
'allocate'. For the full URL construction, look at [2].
(this is for CB1.0 based crowbar. For cb2.0 the pattern/url will be changing)

[1] 
https://github.com/crowbar/barclamp-crowbar/blob/release/fred/master/bin/crowbar_machines#L272
[2] 
https://github.com/crowbar/barclamp-crowbar/blob/release/fred/master/bin/crowbar_machines#L138

Hth,
a

From: crowbar-bounces On Behalf Of Bala, Arunkumar
Sent: Monday, March 04, 2013 11:45 PM
To: crowbar
Cc: Jakesch, Simon; Hirschfeld, Rob
Subject: Re: [Crowbar] Regd. creating and applying a proposal using CLI

Hi ,

Please let me know, how to allocate a node using Rest API?

Thanks & Regards,

Bala . Arun Kumar
_______________________________________________
Crowbar mailing list
Crowbar@dell.com
https://lists.us.dell.com/mailman/listinfo/crowbar
For more information: http://crowbar.github.com/

Reply via email to