Versions Compared

Key

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

...

http://localhost:8282/rests/data/network-topology:network-topology/topology=topology-netconf/node=PNFDemo/yang-ext:mount/gnodeb:cells/cellinfolist=1?fields=cell-uuid;cell-id


http://localhost:8282/rests/data/network-topology:network-topology/topology=topology-netconf/node=PNFDemo/yang-ext:mount/turing-machine:turing-machine?fields=transition-function/delta/output/state

Depth

The "depth" parameter is used to specify the number of nest levels returned in a response for a GET method. The first nest-level consists of the requested data node itself. Any child nodes which are contained within a parent node have a depth value that is 1 greater than its parent.

...

The "rests" odl interface supports fields and depth parameters 

Assumptions

AssumptionNotes

rests bundle is enable by default


node has been mounted



Info
rests interface supports application/yang-data+json format

...

Interaction Between Fields & Depth Parameters

...



Questions

...

QuestionAnswer
When field function is used to list attributes in child will the parent still be part of output? 




Setting up local netconf-pnp-simulator & SDNC environment

...

  1. git clone https://github.com/blue-onap/netconf-pnp-simulator (image not found in nexus)
  2. cd into netconf-pnp-simulator & Run docker build -t netconf-pnp-simulator:latest .Run docker load -i image.tar to unpack netconf docker image v2.8.6
  3. Unzip certs.tar to same folder as docker-compose.yml (SDNC docker)
  4. Run docker-compose up -d 
  5. Unzuip sim.zip
  6. cd into Add docker-compose-sim.yml (simulator docker) to a separate folder e.g. sim & run docker-compose -f docker-compose-sim.yml up -d
    It is necessary to have this docker file in a separate folder or it will try to extract certs and build may fail
  7. To access local SDNC use -  http://localhost:8282/apidoc/explorer/index.html
    • Credentials  : - admin / Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U

...