Apache CloudStack 4.20.0.0 Root Admin API Reference

addIpToNic

Assigns secondary IP to NIC

Request parameters

Parameter NameDescriptionRequired
nicidthe ID of the nic to which you want to assign private IPtrue
ipaddressSecondary IP Addressfalse

Response Tags

Response NameDescription
idthe ID of the secondary private IP addr
ipaddressSecondary IP address
networkidthe ID of the network
nicidthe ID of the nic
secondaryipthe list of Secondary ipv4 addr of nic
virtualmachineidthe ID of the vm