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.
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
- (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
Run ./netgen2odl.py --help
for help.