Attaching a new nic to an existing VM.

Asked by boddepalli srikanth

Can we attach a new NIC to an existing VM using Nova or Quantum commands?

Question information

Language:
English Edit question
Status:
Solved
For:
OpenStack Compute (nova) Edit question
Assignee:
No assignee Edit question
Solved by:
Tiantian Gao
Solved:
Last query:
Last reply:
Revision history for this message
Best Tiantian Gao (gtt116) said :
#1

usage: nova interface-attach [--port-id <port_id>] [--net-id <fixed_ip>]
                             [--fixed-ip <fixed_ip>]
                             <server>

Attach a network interface to an instance.

Positional arguments:
  <server> Name or ID of server.

Optional arguments:
  --port-id <port_id> Port ID.
  --net-id <fixed_ip> Network ID
  --fixed-ip <fixed_ip>
                        Requested fixed IP.

Revision history for this message
boddepalli srikanth (boddepalli-srikanth) said :
#2

Thanks Tiantian Gao, that solved my question.