Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove ip from server #63

Open
hyperdesignbot opened this issue Feb 9, 2020 · 0 comments
Open

Remove ip from server #63

hyperdesignbot opened this issue Feb 9, 2020 · 0 comments

Comments

@hyperdesignbot
Copy link

I want to remove the IP from the list of public IPs
Is it possible to remove the IP from the server before deleting it from the public IP list?
Because when I delete IP:

ci = CloudInterface(dc=1)
ci.login(username='*******', password='*******', load=True)
ci.remove_ip('2944713')

I receive the following message:
ArubaCloud.base.Errors.RequestFailed: Request: {"ApplicationId": "SetRemoveIpAddress", "RequestId": "SetRemoveIpAddress", "SessionId": "SetRemoveIpAddress", "Password": "******", "Username": "******", "IpAddressResourceId": "2944713"}, Response: {'ExceptionInfo': None, 'ResultCode': 8, 'ResultMessage': 'IP address with ResourceId=2944713 is associated with Server 468218\r\nExceptionCode=8\r\n\r\nExceptionCode=8\r\n', 'Success': False}
and the IP is not removed from the IP list

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant