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

Create static node entries from command line #286

Open
phil-dileo opened this issue Feb 6, 2015 · 0 comments
Open

Create static node entries from command line #286

phil-dileo opened this issue Feb 6, 2015 · 0 comments

Comments

@phil-dileo
Copy link
Contributor

It's a bit of a pain to manually create node folders for static nodes and I think it could help people get up to speed faster if you could just type:

ztps --create-node id=001122334455 conf=/path/to/config/file(or "default" for a simple conf) pattern=/path/to/pattern(or "default" for any: any:any)

This function would:

  • create the node directory with the ID passed in
  • copy the startup-config into place (if a path is given) or just touch startup-config
  • copy the pattern into place (if a path is given) or just create a wide open pattern
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

1 participant