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

Fix setting of cluster id on Virtual Network creation #7

Merged
merged 1 commit into from
Dec 12, 2019

Conversation

benosman
Copy link
Contributor

@benosman benosman commented Dec 6, 2019

This pull request aims to fix issue #6.

The list of cluster ids is gathered before network creation, and if found, the first value is used to pass in to the create method, otherwise the default of -1 is used.

The same list of cluster ids is used later on to set the additional clusters for the network in question, a slice is used to ignore the first value (it has already been set, or is -1).

@ghost ghost added the size/XS label Dec 6, 2019
@benosman benosman changed the title Fix setting of cluster id on Virtual Network Creation Fix setting of cluster id on Virtual Network creation Dec 6, 2019
@jaypif jaypif merged commit 04d6474 into OpenNebula:master Dec 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants