VIF via REST API?
-
Before I try to search for something that doesn't exist yet:
- Can I create a new network interface via REST API?
-
Hi,
I don't believe that this is available yet via the REST API, but you can do it using
xo-cli
.Regards, Dan
-
Yes, in xo-cli I see vif.connect vif.set ... would be lying saying it's intuitive what to do here to reach my goal.
I'll start off by clicking through XOA for the moment.
-
At which level are you wanting to add a network (pool, host, or VM)?
-
VM
-
Outside VM creation but afterward, right?
-
Yes, as my cloud-init doesn't work like I want it to, I can live with manually creating the VM.
But it would be cool to be able to automate stuff afterwards, which in my case would be adding a network interface.
-
Ping @julien-f