Skip to content

juliencorsini/sros_scrapli_netconf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

How to

Prerequisites

To run Scrapli script, you need to load the devel branch of scrapli_netconf:

How does it work

Parameters

  • --file is the name of the YAML file for service description (mandatory)
  • --create or --delete, operation you want to execute (mandatory)
  • --sap, if you want to create/delete SAPs config
  • --svc, if you want to create/delete VPLS service
  • --port, if you want to create/delete Ports config

    One of the 3 values is at least mandatory (sap or svc or port)

    usage: vpls_service_config.py [-h] --file FILE [--port] [--sap] [--svc] (--create | --delete)

Example

python3 vpls_service_config.py --file "../vars/wan_l2vpn.yaml" --create --svc --sap --port
python3 vpls_service_config.py --file "../vars/wan_l2vpn.yaml" --delete --svc --sap --port

Thanks

A big thank you to Carl Montanari for his tips when I was stuck with errors.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published