Revision history [back]

If you dont want to use the cli clients, which makes thing much easier, then you should run the cli clients using --debug and it will spit out the curl command it uses to make the rest call.


nova --debug boot --image someimage --flavor someflavor testvm

This will spit out the curl command the cli clients use to make it happen.

To use a custom IP and custom mac, again, use the neutron cli client to see the exact syntax of the curl command.

neutron --debug port-create yournetwork_name -- name my_custom_port --fixed-ip --mac-address 00:00:00:00:00:00

Once you create the port in your nova boot command you can pass in --nic net-id=your_network_uuid,port-id=my_custom_port_uuid