Skip to content

Latest commit

 

History

History
30 lines (20 loc) · 831 Bytes

README.md

File metadata and controls

30 lines (20 loc) · 831 Bytes

netgen2odl

Script takes NETGEN YAML output and transforms it to Opendaylights (ODL) PCE Module REST API Calls. Also can list and delete existing records in ODL and request resyncronisation with the PCC.

Installation

Clone this repository and cd into it. Create virtualenv activate it and install requirements. Make sure to use Python (>=3.6).

$ virtualenv n2oenv
$ source ./n2oenv/bin/activate
$ pip3 install -r requirements.txt

Setup

ODL

  • (Get dev version of ODL: git clone "https://git.opendaylight.org/gerrit/controller")
  • Start it
  • In CLI: feature:install webconsole odl-restconf odl-bgpcep-pcep

Help

Run ./netgen2odl.py --help for help.