Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0

...

Update the specified NIC to be the default NIC for the specified VM. Default nic settings will not take effect until the VM is rebooted, but the admin could change the default route in the meantime

The NIC is only updated in the CloudStack dB and the default NIC must be updated on the VM also. An alert is popped for the user to manually update the NIC.

parameter

description

required

virtualmachineid

Virtual Machine ID

true

nicid

NIC ID

true

Event Type: NIC.UPDATE

4 Events are generated: 2 for Assigning and 2 for removal because of the swapping of the default NICs.
Will throw an exception and fail when trying to set the current default NIC.
Will throw an exception and fail if NIC is not a NIC for the specified VM.

...