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

add support for base vxnet #46

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

add support for base vxnet #46

wants to merge 2 commits into from

Conversation

calvinyv
Copy link
Contributor

@calvinyv calvinyv commented Apr 2, 2018

No description provided.

}
if vxnetItem.RouterID != p.Host.RouterID {
return nil, fmt.Errorf("vxnet %s is not managed by the very router where the instance resides.", vxnetItem.ID)
if vxnetItem.ID == "vxnet-0" || vxnetItem.ID == "vxnet-1" || vxnetItem.ID == "vxnet-ks" || vxnetItem.ID == "vxnet-out" {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

vxnet-0 vxnet-1 vxnet -ks vxnet-out is valid vxnet id for sdn1.0 user. I think you can just add a few code to verify if vxnet is comply with the regular expression something like "vxnet-[a-z0-9]+"

@magicsong
Copy link

/hold

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

Successfully merging this pull request may close these issues.

4 participants