Hello guys,

I'll need to integrated another system with our MAAS (2.3.0) soon, so I am trying the MAAS API features. Looking at the documentation I can see:

|type skip\_networking|bool ('0' for False, '1' for True)

I have a scrip that authenticate to MAAS API 2.0 and execute the request, then, I have tried: rubytesteapi.rb "/machines/{system_id}/?op=commission" "{skip_networking: *'1'*}"
or
rubytesteapi.rb "/machines/{system_id}/?op=commission" "{skip_networking:*1*}"
or
rubytesteapi.rb /machines/{system_id}/?op=commission&*skip_networking=1*

The same script works to other requests. I need to keep the node's network config when commissioning, that is why I am using "skip_networking". If I use MAAS CLI, this works fine "commission {system_id} skip_networking=1", but through API it doesn't work.

Does someone know the correct way to use this parameter?

Many thanks!!!

Daniel Batista, Cloud Computing Specialist - DevOps
<http://maxihost.com.br/>
+55-4933-7591 <tel:+55-4020-9739>
www.maxihost.com.br <http://maxihost.com.br/>

-- 
Maas-devel mailing list
[email protected]
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/maas-devel

Reply via email to