[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-4176?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13733203#comment-13733203
 ] 

Kishan Kavala commented on CLOUDSTACK-4176:
-------------------------------------------

As per Anthony:
"resource code needs to make sure this is the last ip in this NIC, so the 
firstIP flag is useless.
ipassoc script needs to return if there are ip on this NIC, if no, unplug this 
nic"
                
> [XenServer] Nic not unplugged after all IPs are released 
> ---------------------------------------------------------
>
>                 Key: CLOUDSTACK-4176
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-4176
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the 
> default.) 
>          Components: XenServer
>         Environment: Nic should be unplugged after all the public IPs 
> assigned to it are released. Currently nics are not being reused due to this 
> bug.
>            Reporter: Kishan Kavala
>
> Code to set removeVif was removed
> else if (!add && firstIP) {
>                 /* FIXME: This is incorrect. Because you can only tell if 
> it's the first IP in this bundle of ip address which send to the router,
>                  * but don't know if it's the only IP left in the router - 
> because we didn't send all the related vlan's IPs to the router now. */
>                 removeVif = true;
>              }

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to