A framework is deployed in the OSC Lab, allowing a user to validate configuration data in the form of XML/JSON, based on the O-RAN-FH YANG models against a simulated NETCONF Server.
Usage
- Clone the OAM repository in gerrit.
Navigate into the validator folder
cd solution/dev/smo/yang-validator
- Configure any parameters in the docker-compose.yml or in the .env files (like exposed ports etc.)
Start the services of of the validator
docker-compose up
This starts two services currently:
- a O-RAN-FH Simulator exposing the O1 interface YANG models
- a vanilla OpenDaylight Aluminium SR0 version, acting as the SMO
- Mount the O-RAN-FH Simulator into the vanilla ODL:
curl -X PUT "http://192.168.130.90:8181/rests/data/network-topology:network-topology/topology=topology-netconf/node=ntsim-ng-o-ran-fh" -H "accept: */*" -H "Content-Type: application/xml" -d "<node xmlns=\"urn:TBD:params:xml:ns:yang:network-topology\"><node-id>ntsim-ng-o-ran-fh</node-id><host xmlns=\"urn:opendaylight:netconf-node-topology\">192.168.130.90</host><port xmlns=\"urn:opendaylight:netconf-node-topology\">18300</port><username xmlns=\"urn:opendaylight:netconf-node-topology\">netconf</username><password xmlns=\"urn:opendaylight:netconf-node-topology\">netconf</password></node>"