hi
By a API calll i create a machine under MAAS, with a json file.
but i dont find the way to configure the network part of the machine
here my json, for the headers:
{
“architecture”: “amd64/generic”,
“mac_addresses”: “xx:xx:xx:xx:xx:xx”,
“domain”: “maas”,
“pool”: “Project1”,
“hostname”: “maxou-srv02”,
“power_type”: “redfish”,
“power_parameters_power_address”:“10.10.10.10”,
“power_parameters_power_user”: “root”,
“power_parameters_power_pass”: “ADMIN”,
“commission”: “False”,
“zone”: “eu-west-0-z”,
}
I dont find parameter or method to configure network part( definition of the Fabric, ans dhcp to yes)
the documentation API from Canonical is not really helpfull ( perhaps i am not enough good on scriptiing.)
any helps is welcome.