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

Declare size of subnet? #44

Open
mingsheng36 opened this issue Oct 28, 2016 · 7 comments
Open

Declare size of subnet? #44

mingsheng36 opened this issue Oct 28, 2016 · 7 comments

Comments

@mingsheng36
Copy link

Was trying to look for ways to define the size of the subnet but to no avail.

@bernard357
Copy link
Contributor

Hello there, currently plumbery is using a fixed size of /24 for VLANS. What kind of subnet are you looking for?

@mingsheng36
Copy link
Author

Anywhere inbetween /16 - /24. It would be great if that could be defined when creating the subnets.

@bernard357
Copy link
Contributor

So, to clarify the requirement, the target statement would be for example:

ethernet:
    name: myNetwork
    subnet: 10.1.0.0/16

In other terms, the size of the subnet would come last, after a '/' character. Would you be ok with this syntax?

@mingsheng36
Copy link
Author

perfect.

@bernard357
Copy link
Contributor

Thanks Ming. This is now an official enhancement request, waiting for some developer to work on it. :-)

@bernard357
Copy link
Contributor

This has been integrated into the new PyPi release of plumbery.

pip install plumbery --upgrade
python -m plumbery -v

Last command should display 17.5.22, which is the label of the new version.

@mingsheng36
Copy link
Author

Thanks bernard! 👍

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

No branches or pull requests

2 participants