[
https://issues.apache.org/jira/browse/CLOUDSTACK-9051?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15013274#comment-15013274
]
ASF GitHub Bot commented on CLOUDSTACK-9051:
--------------------------------------------
Github user ustcweizhou commented on the pull request:
https://github.com/apache/cloudstack/pull/1086#issuecomment-158012460
@wilderrodrigues
I added some unit tests.
you can test it via api:
command=updateVmNicIp&response=json&nicId=92ad2e8b-f8d8-4aec-a975-16ee1e4ef0fe&ipaddress=10.1.43.20
or on UI (Instance -> select one -> NICs -> icon for each NIC)
1. the ipaddress is optional
2. This applies to Isolated network or Shared network.
> Update Ip address of NIC
> ------------------------
>
> Key: CLOUDSTACK-9051
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9051
> Project: CloudStack
> Issue Type: Improvement
> Security Level: Public(Anyone can view this level - this is the
> default.)
> Reporter: Wei Zhou
> Assignee: Wei Zhou
>
> Sometimes we want to change the ipaddress of a NIC to a specified ip.
> we need to add an API to replace the manual database change.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)