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

VLANRange parameter for NSPortTemplate required for access port, but not for network #2

Open
hellt opened this issue Apr 5, 2017 · 1 comment

Comments

@hellt
Copy link

hellt commented Apr 5, 2017

NSPortTemplate object has VLANRange parameter which is not marked as required
Though it fails to create an ACCESS port template without specifying a VLANRange. At the same type creating a NETWORK port template succeeds without specifying VLANRange

@pdellaert
Copy link
Member

From your explanation, the documentation is correct: the VLANRange is not a required attribute: When creating a NETWORK port, the field can be left out. The only reason we put a 'required' marker on a field in the documentation, is if it is always required, in every case.

The only improvement i see is by adding some extra documentation on the field itself, stating it is mandatory when creating an ACCESS port.

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

2 participants