Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The objective of this page is to give you some basics about setting up ONAP PNF simulator and how to create a simple CDS blueprint model to perform config-assign and config-deploy using CDS REST API interfaces.

...

  • Connect to netopeer docker container and execute the following commands to initialise the pg.yang model

cd /opt/dev/Netopeer2/cli/build
./netopeer2-cli
> connect --host localhost --login netconf
> edit-config --target running --config=/dev-models/pg-data.xml
> get --filter-xpath /sample-plugin:*

> quit

exit

  • Now create a simple CDS blue print to update the number of streams using NETCONF. 

You can use the attached demo-pnf-bp.zip file to enrich, save, publish and deploy from CDS UI.


  • The assumption is all the below parameters for config-assign will sent as part of config-assing REST call

              Day-0 : config-assign parameters                          

                             pnf-ipv4-address, netconf-server-port, netconf-username, netconf-password, stream-count

...

                            pnf-ipv4-address, netconf-server-port, netconf-username, netconf-password, stream-count

...