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

OpenStackFloatingIP in_use method doesn't return the correct result #42 #43

Merged
merged 1 commit into from
May 16, 2017

Conversation

MartinPaulo
Copy link
Contributor

The floating IP status was tests, and if found to be 'ACTIVE' True was
returned. However, on our nectar cloud a newly created floating IP is
set to 'ACTIVE' by default - even though it is not in use.

This commit uses port id as indicator of being in use: if set, then
the floating ip is attached, if not, it is not.

…loudVE#42

The floating IP status was tests, and if found to be 'ACTIVE' True was
returned. However, on our nectar cloud a newly created floating IP is
set to 'ACTIVE' by default - even though it is not in use.

This commit uses port id as indicator of being in use: if set, then
the floating ip is attached, if not, it is not.
@MartinPaulo
Copy link
Contributor Author

As with my other commits, when I run tox under python 3.5.1 in a virtualenv on my development machine against the nectar cloud, I get a few failures/errors: all due to the tests not expecting the underlying nectar infrastructure ("Bad router request: Incompatible network." and "publicURL endpoint for compute service in Tasmania region not found". These are totally different failures to the ones the build is reporting. I'm guessing that the test environment here has some other sort of issue?

@coveralls
Copy link

coveralls commented May 10, 2017

Coverage Status

Coverage decreased (-20.9%) to 69.496% when pulling 6dfb1ba on MartinPaulo:issue_42 into de644d1 on gvlproject:master.

@afgane
Copy link
Contributor

afgane commented May 16, 2017

I've tested this locally for now and it's working as you described. Thanks for following through with it.

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

Successfully merging this pull request may close these issues.

3 participants