Versions Compared

Key

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

...

Code Block
languagexml
titleCPS Path
//state[@cm-handle-state="READY"]/ancestor::cm-handles | //state/datastore/operational[@sync-state="UNSYNCHRONIZED"]/ancestor::cm-handles

Step 2: 

Get the CM Handle data from RAN through DMI passthrough service.

Note: At the moment the DMI passthrough service requires resource Identifier eg: stores:bookstore. The SDNC has the capability to get all the resources from the Mounted device but how to identify the resource for cm handle data?

A PNF Simulator is used with YANG Model.

Code Block
languagexml
titleBookstore YANG Model
module stores {

    yang-version 1.1;

    namespace "org:onap:ccsdk:sample";

    prefix book-store;

	import ietf-yang-types { prefix yang; }
	import ietf-inet-types { prefix inet; }

    revision "2020-09-15" {
        description
        "Sample Model";
    }

    typedef year {
        type uint16 {
            range "1000..9999";
        }
    }

    container bookstore {

        leaf bookstore-name {
            type string;
        }

        list categories {

            key "code";

            leaf code {
                type string;
            }

            leaf name {
                type string;
            }

            list books {
                key title;

                leaf title {
                    type string;
                }
                leaf lang {
                    type string;
                }
                leaf-list authors {
                    type string;
                }
                leaf pub_year {
                     type year;
                }
                leaf price {
                     type uint64;
                }
            }
        }
   }
}

This PNF Simulator is mounted in SDNC and the response from SDNC to get all the resources from RAN,

Code Block
languagexml
titleSDNC Url
http://<ip>:8282/rests/data/network-topology:network-topology/topology=topology-netconf/node=Bookstore/yang-ext:mount

The DMI passthrough service is used to write the data to the RAN Simulator and the response from it through SDNC is shown below,

CPS do not support AND operation in the query. Create a new user story to introduce this feature. 

Jira
serverONAP Jira
columnIdsissuekey,summary,issuetype,created,updated,duedate,assignee,reporter,priority,status,resolution
columnskey,summary,type,created,updated,due,assignee,reporter,priority,status,resolution
serverId425b2b0a-557c-3c0c-b515-579789cceedb
keyCPS-1055

The agreed solution is to split the query to get the CM Handles where the operational sync state in UNSYNCHRONIZED and select a random CM Handle and check the status of the CM Handle in READY state.

Code Block
languagexml
titleCPS Path
Query 1:
//state/datastore/operational[@sync-state="UNSYNCHRONIZED"]/ancestor::cm-handles

Query 2:
//cm-handles[@id='some-cm-handle']/state[@cm-handle-state="READY"]

Step 2: 

Get the CM Handle data from RAN through DMI passthrough service.

Note: At the moment the DMI passthrough service requires resource Identifier eg: stores:bookstore. The SDNC has the capability to get all the resources from the Mounted device but how to identify the resource for cm handle data?

A PNF Simulator is used with YANG Model.

Code Block
languagexml
titleBookstore YANG Model
module stores {

    yang-version 1.1;

    namespace "org:onap:ccsdk:sample";

    prefix book-store;

	import ietf-yang-types { prefix yang; }
	import ietf-inet-types { prefix inet; }

    revision "2020-09-15" {
        description
        "Sample Model";
    }

    typedef year {
        type uint16 {
Code Block
languagexml
titleSDNC Response
{
    "ietf-netconf-monitoring:netconf-state": {
        "schemas": {
            "schema": [
                {
                    "identifier": "ietf-tls-server",
                    "version": "2016-11-02",
                    "format": "ietf-netconf-monitoring:yang",
                    "namespace": "urn:ietf:params:xml:ns:yang:ietf-tls-server",
                    "location": [
                        "NETCONF"
                    ]
                },
                {
                    "identifier": "nc-notifications",
                    "version": "2008-07-14",
                    "format": "ietf-netconf-monitoring:yang",
                    "namespace": "urn:ietf:params:xml:ns:netmod:notification",
                    "location": [
                        "NETCONF"
                    ]
                },
                {
                    "identifier": "ietf-ssh-server",
                    "version": "2016-11-02",
                    "format": "ietf-netconf-monitoring:yin",
                    "namespace": "urn:ietf:params:xml:ns:yang:ietf-ssh-server",
                    "location": [
                        "NETCONF"
                    ]
                },
                {
                    "identifier": "turing-machine",
                    "version": "2013-12-27",
                    "format": "ietf-netconf-monitoring:yang",
                    "namespace": "http://example.net/turing-machine",
                    "location": [
                        "NETCONF"
                    ]
                },
                {
                    "identifier": "ietf-yang-metadata",
                    "version": "2016-08-05",
                    "format": "ietf-netconf-monitoring:yin",
                    "namespace": "urn:ietf:params:xml:ns:yang:ietf-yang-metadata",
                    "location": [
                        "NETCONF"
                    ]
                },
                {
                    "identifier": "iana-crypt-hash",
                    "version": "2014-08-06",
                    "format": "ietf-netconf-monitoring:yin",
                    "namespace": "urn:ietf:params:xml:ns:yang:iana-crypt-hash",
                    "location": [
                        "NETCONF"
                    ]
                },
                {
                    "identifier": "ietf-datastores",
                    "version": "2017-08-17",
                    "format": "ietf-netconf-monitoring:yang",
                    "namespace": "urn:ietf:params:xml:ns:yang:ietf-datastores",
                    "location": [
                        "NETCONF"
                    ]
                },
                {
                    "identifier": "ietf-netconf-with-defaults",
                    "version": "2011-06-01",
                    "format": "ietf-netconf-monitoring:yin",
                    "namespace": "urn:ietf:params:xml:ns:yang:ietf-netconf-with-defaults",
                    "location": [
                        "NETCONF"
                    ]
                },
                {
                    "identifier": "ietf-x509-cert-to-name",
                    "version": "2014-12-10",
                    "format": "ietf-netconf-monitoring:yang",
                    "namespace": "urn:ietf:params:xml:ns:yang:ietf-x509-cert-to-name",
                    "location": [
                        "NETCONF"
                    ]
                },
                {
                    "identifier": "ietf-netconf",
                    "version": "2011-06-01",
                    "format": "ietf-netconf-monitoring:yang",
                    "namespace": "urn:ietf:params:xml:ns:netconf:base:1.0",
                    "location": [
                        "NETCONF"
                    ]
                },
                {
                    "identifier": "ietf-keystore",
                    "version": "2016-10-31",
                    "format": "ietf-netconf-monitoring:yin",
                    "namespace": "urn:ietf:params:xml:ns:yang:ietf-keystore",
                    "location": [
                        "NETCONF"
                    ]
                },
                {
                    "identifier": "ietf-netconf-with-defaults",
                    "version": "2011-06-01",
                    "format": "ietf-netconf-monitoring:yang",
                    "namespace": "urn:ietf:params:xml:ns:yang:ietf-netconf-with-defaults",
                    "location": [
                        "NETCONF"
                    ]
                },
                {
                    "identifier": "ietf-inet-types",
                    "version": "2013-07-15",
                    "format": "ietf-netconf-monitoring:yang",
                    "namespace": "urn:ietf:params:xml:ns:yang:ietf-inet-types",
                    "location": [
                        "NETCONF"
                    ]
                },
                {
                    "identifier": "ietf-keystore",
                    "version": "2016-10-31",
                    "format": "ietf-netconf-monitoring:yang",
                    "namespace": "urn:ietf:params:xml:ns:yang:ietf-keystore",
                    "location": [
                        "NETCONF"
                    ]
                },
                {
                    "identifier": "turing-machine",
                    "version": "2013-12-27",
                    "format": "ietf-netconf-monitoring:yin",
                    "namespace": "http://example.net/turing-machine",
                    "location": [
                        "NETCONF"
                    ]
                },
                {
                    "identifier": "ietf-netconf-acm",
                    "version": "2018-02-14",
                    "format": "ietf-netconf-monitoring:yang",
                    "namespace": "urn:ietf:params:xml:ns:yang:ietf-netconf-acm",
                    "location": [
                        "NETCONF"
                    ]
                },
                {
                    "identifier": "yang",
                    "version": "2017-02-20",
                    "format": "ietf-netconf-monitoring:yang",
                    "namespace": "urn:ietf:params:xml:ns:yang:1",
                    "location": [
                        "NETCONF"
                    ]
                },
                {
                    "identifier": "ietf-yang-types",
                    "version": "2013-07-15",
                    "format": "ietf-netconf-monitoring:yang",
                    "namespace": "urn:ietf:params:xml:ns:yang:ietf-yang-types",
                    "location": [
                        "NETCONF"
                    ]
                },
                {
                    "identifier": "ietf-system",
                    "version": "2014-08-06",
                    "format": "ietf-netconf-monitoring:yang",
                    "namespace": "urn:ietf:params:xml:ns:yang:ietf-system",
                    "location": [
                        "NETCONF"
                    ]
                },
                {
                    "identifier": "nc-notifications",
                    "version": "2008-07-14",
                    "format": "ietf-netconf-monitoring:yin",
                    "namespace": "urn:ietf:params:xml:ns:netmod:notification",
                    "location": [
                        "NETCONF"
                    ]
                },
                {
                    "identifier": "stores",
                    "version": "2020-09-15",
                    "format": "ietf-netconf-monitoring:yang",
                    "namespace": "org:onap:ccsdk:sample",
                    "location": [
                        "NETCONF"
                    ]
                },
                {
                    "identifier": "ietf-yang-metadata",
                    "version": "2016-08-05",
                    "format": "ietf-netconf-monitoring:yang",
                    "namespace": "urn:ietf:params:xml:ns:yang:ietf-yang-metadata",
                    "location": [
                        "NETCONF"
                    ]
                },
                {
                    "identifier": "ietf-netconf-notifications",
                    "version": "2012-02-06",
                    "format": "ietf-netconf-monitoring:yin",
                    "namespace": "urn:ietf:params:xml:ns:yang:ietf-netconf-notifications",
                    "location": [
                        "NETCONF"
                    ]
                },
                {
                    "identifier": "ietf-netconf-monitoring",
                    "version": "2010-10-04",
                    "format": "ietf-netconf-monitoring:yin",
                    "namespace": "urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring",
                    "location": [
                        "NETCONF"
                    ]
                },
                {
                    "identifier": "ietf-netconf-server",
                    "version": "2016-11-02",
                    "format": "ietf-netconf-monitoring:yang",
                    "namespace": "urn:ietf:params:xml:ns:yang:ietf-netconf-server",
                    "location": [
                        "NETCONF"
                    ]
                },
                {
                    "identifier": "stores",
                    "version": "2020-09-15",
                    "format": "ietf-netconf-monitoring:yin",
                    "namespace": "org:onap:ccsdk:sample",
                    "location": [
                        "NETCONF"
                    ]
                },
                {
                    "identifier": "ietf-yang-types",
                    "version": "2013-07-15",
                    "format": "ietf-netconf-monitoring:yin",
                    "namespace": "urn:ietf:params:xml:ns:yang:ietf-yang-types",
                    "location": [
                        "NETCONF"
                    ]
                },
                {
                    "identifier": "ietf-yang-library",
                    "version": "2019-01-04",
                    "format": "ietf-netconf-monitoring:yang",
                    "namespace": "urn:ietf:params:xml:ns:yang:ietf-yang-library",
                    "location": [
                        "NETCONF"
                    ]
                },
                {
                    "identifier": "ietf-netconf-notifications",
                    "version": "2012-02-06",
                    "format": "ietf-netconf-monitoring:yang",
                    "namespace": "urn:ietf:params:xml:ns:yang:ietf-netconf-notifications",
                    "location": [
                        "NETCONF"
                    ]
                },
                {
                    "identifier": "ietf-yang-library",
                    "version": "2019-01-04",
                    "format": "ietf-netconf-monitoring:yin",
                    "namespace": "urn:ietf:params:xml:ns:yang:ietf-yang-library",
                    "location": [
                        "NETCONF"
                    ]
                },
                {
                    "identifier": "notifications",
            range "1000..9999";
       "version": "2008-07-14", }
    }

    container bookstore {

        leaf  "format": "ietf-netconf-monitoring:yang",bookstore-name {
            type string;
       "namespace": "urn:ietf:params:xml:ns:netconf:notification:1.0", }

        list categories {

            key "location": [
code";

            leaf code {
                type "NETCONF"string;
            }

         ]
   leaf name {
           },
     type string;
            {}

            list books {
        "identifier": "ietf-tls-server",
       key title;

            "version": "2016-11-02",
   leaf title {
               "format": "ietf-netconf-monitoring:yin",
    type string;
               "namespace": "urn:ietf:params:xml:ns:yang:ietf-tls-server", }
                leaf    "location": [lang {
                    type string;
   "NETCONF"
             }
       ]
         leaf-list authors {
     },
               type {string;
                }
    "identifier": "iana-crypt-hash",
           leaf pub_year {
       "version": "2014-08-06",
             type year;
      "format": "ietf-netconf-monitoring:yang",
         }
           "namespace": "urn:ietf:params:xml:ns:yang:iana-crypt-hash",
    leaf price {
              "location": [
      type uint64;
                 "NETCONF"}
            }
        ]}
                },}
}


This PNF Simulator is mounted in SDNC and the response from SDNC to get all the resources from RAN,

Code Block
languagexml
titleSDNC Url
http://<ip>:8282/rests/data/network-topology:network-topology/topology=topology-netconf/node=Bookstore/yang-ext:mount


The DMI passthrough service is used to write the data to the RAN Simulator and the response from it through SDNC is shown below,

Code Block
languagexml
titleSDNC Response
{
  "ietf-netconf-monitoring:netconf-state": {
    "schemas": {
        "schema": [
        {
                    "identifier": "ietf-tls-netconfserver",
                    "version": "20112016-0611-0102",
                    "format": "ietf-netconf-monitoring:yinyang",
                    "namespace": "urn:ietf:params:xml:ns:netconf:base:1.0yang:ietf-tls-server",
                    "location": [
                        "NETCONF"
                    ]
                },"NETCONF"
          ]
      {
  },
        {
          "identifier": "nc-notifications",
                    "version": "2008-07-14",
                    "format": "ietf-netconf-monitoring:yinyang",
                    "namespace": "urn:ietf:params:xml:ns:netconfnetmod:notification:1.0",
                    "location": [
                        "NETCONF"
                    ]
                },
                {
                    "identifier": "ietf-netconf-monitoring",
          {
          "versionidentifier": "2010ietf-10ssh-04server",
          "version": "2016-11-02",
          "format": "ietf-netconf-monitoring:yangyin",
                    "namespace": "urn:ietf:params:xml:ns:yang:ietf-netconfssh-monitoringserver",
          "location": [
            "location": [NETCONF"
          ]
        },
        {
        "NETCONF"
  "identifier": "turing-machine",
          "version": "2013-12-27",
           ]"format": "ietf-netconf-monitoring:yang",
          "namespace": "http://example.net/turing-machine",
     },
     "location": [
          {
  "NETCONF"
          ]
        "identifier": "yang"},
        {
            "versionidentifier": "2017ietf-02yang-20metadata",
          "version": "2016-08-05",
          "format": "ietf-netconf-monitoring:yin",
                    "namespace": "urn:ietf:params:xml:ns:yang:1ietf-yang-metadata",
                    "location": [
                        "NETCONF"
                    ]
                },
                {
                    "identifier": "ietfiana-x509-cert-to-namecrypt-hash",
                    "version": "2014-1208-1006",
                    "format": "ietf-netconf-monitoring:yin",
                    "namespace": "urn:ietf:params:xml:ns:yang:ietfiana-x509-cert-to-namecrypt-hash",
          "location": [
            "location": [
NETCONF"
          ]
        },
        {
          "identifier": "NETCONFietf-datastores",
          "version": "2017-08-17",
         ] "format": "ietf-netconf-monitoring:yang",
          "namespace": "urn:ietf:params:xml:ns:yang:ietf-datastores",
     },
     "location": [
          {
  "NETCONF"
          ]
        "identifier": "ietf-inet-types"},
         {
           "versionidentifier": "2013ietf-netconf-07with-15defaults",
          "version": "2011-06-01",
          "format": "ietf-netconf-monitoring:yin",
                    "namespace": "urn:ietf:params:xml:ns:yang:ietf-inetnetconf-with-typesdefaults",
                    "location": [
                        "NETCONF"
                    ]
                },
                {
                    "identifier": "ietf-ssh-serverx509-cert-to-name",
                    "version": "20162014-1112-0210",
                    "format": "ietf-netconf-monitoring:yang",
        ,
            "namespace": "urn:ietf:params:xml:ns:yang:ietf-x509-sshcert-to-servername",
                    "location": [
                        "NETCONF"
                    ]
                },
                {
                    "identifier": "ietf-datastoresnetconf",
                    "version": "20172011-0806-1701",
                    "format": "ietf-netconf-monitoring:yinyang",
                    "namespace": "urn:ietf:params:xml:ns:yang:ietf-datastores",
                    "location": [netconf:base:1.0",
          "location": [
             "NETCONF"
                    ]
                },
                {
                    "identifier": "ietf-netconf-serverkeystore",
                    "version": "2016-1110-0231",
                    "format": "ietf-netconf-monitoring:yin",
                    "namespace": "urn:ietf:params:xml:ns:yang:ietf-netconf-server",
                    "location": [
                        "NETCONF"keystore",
          "location": [
         ]
   "NETCONF"
             },]
        },
        {
                    "identifier": "ietf-netconf-acmwith-defaults",
                    "version": "20182011-0206-1401",
                    "format": "ietf-netconf-monitoring:yinyang",
                    "namespace": "urn:ietf:params:xml:ns:yang:ietf-netconf-acm",
                    "location": [
                        "NETCONF"
            with-defaults",
        ]
  "location": [
             },"NETCONF"
          ]
      {
  },
        {
          "identifier": "ietf-systeminet-types",
                    "version": "20142013-0807-0615",
                    "format": "ietf-netconf-monitoring:yinyang",
                    "namespace": "urn:ietf:params:xml:ns:yang:ietf-systeminet-types",
                    "location": [
                        "NETCONF"
          ]
        },
  ]
      {
           }"identifier": "ietf-keystore",
            ]
 "version": "2016-10-31",
       },
        "statistics": {"format": "ietf-netconf-monitoring:yang",
          "namespace":  "out-rpc-errors": 0"urn:ietf:params:xml:ns:yang:ietf-keystore",
            "out-notificationslocation": 0,[
            "in-bad-hellos": 0,NETCONF"
          ]
  "dropped-sessions": 0,
     },
       "in-sessions": 1, {
          "identifier":  "inturing-rpcsmachine": 78,
            "netconf-start-time"version": "20222013-05-19T14:23:27Z12-27",
           "format": "inietf-badnetconf-rpcs": 0monitoring:yin",
        },
        "sessions": {
  "namespace": "http://example.net/turing-machine",
          "sessionlocation": [
                {"NETCONF"
          ]
          "session-id": 1},
        {
            "source-hostidentifier": "172.21.0.3ietf-netconf-acm",
          "version": "2018-02-14",
          "usernameformat": "ietf-netconf-monitoring:yang",
                    "login-time"namespace": "2022-05-19T14:32:39Zurn:ietf:params:xml:ns:yang:ietf-netconf-acm",
          "location": [
            "out-rpc-errors": 0,NETCONF"
           ]
         "transport": "ietf-netconf-monitoring:netconf-tls" },
         {
           "out-notificationsidentifier": 0"yang",
          "version": "2017-02-20",
          "in-rpcsformat": 78"ietf-netconf-monitoring:yang",
          "namespace": "urn:ietf:params:xml:ns:yang:1",
          "in-bad-rpcslocation": 0[
                }
  "NETCONF"
          ]
        },
        "capabilities": {
            "capabilityidentifier": ["ietf-yang-types",
          "version": "2013-07-15",
          "urnformat": "ietf:params:-netconf:capability:xpath:1.0-monitoring:yang",
                "namespace": "urn:ietf:params:xml:ns:yang:ietf-x509-cert-to-name?module=ietf-x509-cert-to-name&revision=2014-12-10yang-types",
          "location": [
      "urn:ietf:params:netconf:base:1.1",      "NETCONF"
          ]
      "urn:ietf:params:netconf:capability:startup:1.0",
  },
        {
          "urnidentifier":ietf:params:netconf:capability:yang-library:1.0?revision=2019-01-04&module-set-id=23 "ietf-system",
          "version": "2014-08-06",
          "urn:ietf:params:netconf:base:1.0format": "ietf-netconf-monitoring:yang",
                "namespace": "urn:ietf:params:xml:ns:yang:ietf-netconf-notifications?module=ietf-netconf-notifications&revision=2012-02-06system",
          "location": [
            "urn:ietf:params:xml:ns:yang:ietf-netconf-acm?module=ietf-netconf-acm&revision=2018-02-14",
NETCONF"
          ]
        "urn:ietf:params:xml:ns:netconf:base:1.0?module=ietf-netconf&revision=2011-06-01&features=writable-running,candidate,rollback-on-error,validate,startup,url,xpath",
},
        {
          "urn:ietf:params:xml:ns:netmod:notification?module=identifier": "nc-notifications&revision=2008-07-14",
          "version": "2008-07-14",
          "format"urn:ietf:params:xml:ns:yang:: "ietf-yang-metadata?module=ietf-yang-metadata&revision=2016-08-05netconf-monitoring:yin",
                "namespace": "urn:ietf:params:netconfxml:capabilityns:writable-running:1.0netmod:notification",
          "location": [
       "urn:ietf:params:xml:ns:yang:ietf-yang-types?module=ietf-yang-types&revision=2013-07-15",     "NETCONF"
          ]
       "urn:ietf:params:netconf:capability:notification:1.0" },
        {
          "http://example.net/turing-machine?module=turing-machine&revision=2013-12-27identifier": "stores",
          "version": "2020-09-15",
          "format"urn: "ietf:params:xml:ns:yang:1?module=yang&revision=2017-02-20",
    -netconf-monitoring:yang",
          "namespace": "org:onap:ccsdk:sample",
          "location": [
            "urn:ietf:params:netconf:capability:rollback-on-error:1.0",NETCONF"
          ]
      "urn:ietf:params:netconf:capability:with-defaults:1.0?basic-mode=explicit&also-supported=report-all,report-all-tagged,trim,explicit",  },
        {
          "identifier"urn:ietf:params:xml:ns:yang:ietf-netconf-with-defaults?module=ietf-netconf-with-defaults&revision=2011-06-01 "ietf-yang-metadata",
          "version": "2016-08-05",
          "urnformat": "ietf:params:-netconf:capability:candidate:1.0-monitoring:yang",
                "namespace": "urn:ietf:params:xml:ns:netconf:notification:1.0?module=notifications&revision=2008-07-14yang:ietf-yang-metadata",
          "location": [
            "urn:ietf:params:netconf:capability:interleave:1.0",
NETCONF"
          ]
       "urn:ietf:params:xml:ns:yang:iana-crypt-hash?module=iana-crypt-hash&revision=2014-08-06" },
        {
          "urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring?module=ietf-netconf-monitoring&revision=2010-10-04identifier": "ietf-netconf-notifications",
          "version": "2012-02-06",
     "urn:ietf:params:netconf:capability:validate:1.1     "format": "ietf-netconf-monitoring:yin",
                "namespace": "urn:ietf:params:xml:ns:yang:ietf-inet-types?module=ietf-inet-types&revision=2013-07-15netconf-notifications",
          "location": [
          "urn:ietf:params:netconf:capability:url:1.0",  "NETCONF"
          ]
      "urn:ietf:params:xml:ns:yang:ietf-system?module=ietf-system&revision=2014-08-06&features=authentication,local-users"
  },
        {
       ]   "identifier": "ietf-netconf-monitoring",
        }   "version": "2010-10-04",
    },
      "format": "turingietf-netconf-machinemonitoring:turing-machine": {
yin",
          "transition-functionnamespace": {
 "urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring",
           "deltalocation": [
            "NETCONF"
     {
     ]
        },
       "label": "separator",
 {
          "identifier": "ietf-netconf-server",
          "outputversion": {"2016-11-02",
            "format": "ietf-netconf-monitoring:yang",
            "statenamespace": 1"urn:ietf:params:xml:ns:yang:ietf-netconf-server",
          "location": [
             "symbol": "1"NETCONF"
            ]
        },
        {
            "inputidentifier": {"stores",
          "version": "2020-09-15",
             "stateformat": 0"ietf-netconf-monitoring:yin",
             "namespace": "org:onap:ccsdk:sample",
           "symbollocation": "0"[
            "NETCONF"
         } ]
        },
        },{
                {
"identifier": "ietf-yang-types",
            "version": "2013-07-15",
          "labelformat": "right endietf-netconf-monitoring:yin",
          "namespace": "urn:ietf:params:xml:ns:yang:ietf-yang-types",
          "outputlocation": {[
            "NETCONF"
          ]
  "state": 2,
     },
        {
           "head-moveidentifier": "leftietf-yang-library",
          "version": "2019-01-04",
           }"format": "ietf-netconf-monitoring:yang",
              "namespace": "urn:ietf:params:xml:ns:yang:ietf-yang-library",
          "inputlocation": {[
            "NETCONF"
          ]
  "state": 1,
     },
         {
          "symbolidentifier": "ietf-netconf-notifications",
          "version": "2012-02-06",
         }
 "format": "ietf-netconf-monitoring:yang",
              }"namespace": "urn:ietf:params:xml:ns:yang:ietf-netconf-notifications",
                {"location": [
            "NETCONF"
        "label": "write separator",]
             },
       "output": {
             "identifier": "ietf-yang-library",
           "stateversion": 3"2019-01-04",
             "format": "ietf-netconf-monitoring:yin",
           "head-movenamespace": "lefturn:ietf:params:xml:ns:yang:ietf-yang-library",
          "location": [
             "symbol": "0"NETCONF"
          ]
          },
        {
            "inputidentifier": {"notifications",
          "version": "2008-07-14",
             "stateformat": 2,
          "ietf-netconf-monitoring:yang",
              "symbolnamespace": "urn:ietf:params:xml:ns:netconf:notification:1.0",
             "location": [
      }
      "NETCONF"
          },]
        },
        {
                    "label"identifier": "right summandietf-tls-server",
                    "inputversion": {"2016-11-02",
          "format": "ietf-netconf-monitoring:yin",
             "statenamespace": 1"urn:ietf:params:xml:ns:yang:ietf-tls-server",
          "location": [
             "symbol": "1"NETCONF"
            ]
        },
                },{
                {"identifier": "iana-crypt-hash",
          "version": "2014-08-06",
          "labelformat": "go homeietf-netconf-monitoring:yang",
                    "output": {"namespace": "urn:ietf:params:xml:ns:yang:iana-crypt-hash",
          "location": [
             "head-move": "left"NETCONF"
            ]
        },
        {
            "inputidentifier": {"ietf-netconf",
              "version": "2011-06-01",
          "stateformat": 3"ietf-netconf-monitoring:yin",
              "namespace": "urn:ietf:params:xml:ns:netconf:base:1.0",
          "symbollocation": "1"[
            "NETCONF"
        }
  ]
              },
                {
          "identifier": "notifications",
          "labelversion": "final step2008-07-14",
          "format": "ietf-netconf-monitoring:yin",
          "outputnamespace": {"urn:ietf:params:xml:ns:netconf:notification:1.0",
            "location": [
            "stateNETCONF": 4
            ]
        },
        {
            "inputidentifier": {
              "ietf-netconf-monitoring",
          "stateversion": 3"2010-10-04",
            "format": "ietf-netconf-monitoring:yang",
            "symbolnamespace": "urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring",
          "location": [
         }
   "NETCONF"
             },]
        },
        {
                    "label"identifier": "left summandyang",
                    "inputversion": {"2017-02-20",
          "format": "ietf-netconf-monitoring:yin",
             "statenamespace": 0"urn:ietf:params:xml:ns:yang:1",
          "location": [
             "symbol": "1NETCONF"
          ]
        },
   }
     {
           }"identifier": "ietf-x509-cert-to-name",
          "version":  ]
"2014-12-10",
           }
"format": "ietf-netconf-monitoring:yin",
      },
    "storesnamespace":bookstore "urn: {
ietf:params:xml:ns:yang:ietf-x509-cert-to-name",
          "categorieslocation": [
            {"NETCONF"
          ]
       "code": "05" },
        {
          "booksidentifier": ["ietf-inet-types",
          "version": "2013-07-15",
              {"format": "ietf-netconf-monitoring:yin",
            "namespace": "urn:ietf:params:xml:ns:yang:ietf-inet-types",
            "titlelocation": "A Romance Book",[
            "NETCONF"
          ]
  "price": "2000",
     },
         {
          "pub_yearidentifier": 2002"ietf-ssh-server",
              "version": "2016-11-02",
          "langformat": "Englishietf-netconf-monitoring:yang",
             "namespace": "urn:ietf:params:xml:ns:yang:ietf-ssh-server",
           "authorslocation": [
            "NETCONF"
          ]
      "Lathish"
  },
        {
          "identifier": "ietf-datastores",
   ]
       "version": "2017-08-17",
            }"format": "ietf-netconf-monitoring:yin",
          "namespace": "urn:ietf:params:xml:ns:yang:ietf-datastores",
     ],
     "location": [
           "name": "RomanceNETCONF"
          ]
        },
        ]{
    },
      "identifier": "ietf-keystore:keystore": {
netconf-server",
          "private-keysversion": {"2016-11-02",
           "format": "private-key": [ietf-netconf-monitoring:yin",
          "namespace": "urn:ietf:params:xml:ns:yang:ietf-netconf-server",
     {
     "location": [
              "nameNETCONF": "server_key",

          ]
        },
    "certificate-chains": {
   {
          "identifier": "ietf-netconf-acm",
          "certificate-chainversion": ["2018-02-14",
          "format": "ietf-netconf-monitoring:yin",
                 {"namespace": "urn:ietf:params:xml:ns:yang:ietf-netconf-acm",
          "location": [
            "NETCONF"
         "name": "server_cert", ]
        },
        {
                "certificate"identifier": ["ietf-system",
          "version": "2014-08-06",
          "format": "ietf-netconf-monitoring:yin",
              "MIIECTCCAvGgAwIBAgIBCDANBgkqhkiG9w0BAQsFADCBjDELMAkGA1UEBhMCQ1oxFjAUBgNVBAgMDVNvdXRoIE1vcmF2aWExDTALBgNVBAcMBEJybm8xDzANBgNVBAoMBkNFU05FVDEMMAoGA1UECwwDVE1DMRMwEQYDVQQDDApleGFtcGxlIENBMSIwIAYJKoZIhvcNAQkBFhNleGFtcGxlY2FAbG9jYWxob3N0MB4XDTE1MDczMDA3MjU1MFoXDTM1MDcyNTA3MjU1MFowgYUxCzAJBgNVBAYTAkNaMRYwFAYDVQQIDA1Tb3V0aCBNb3JhdmlhMQ8wDQYDVQQKDAZDRVNORVQxDDAKBgNVBAsMA1RNQzEXMBUGA1UEAwwOZXhhbXBsZSBzZXJ2ZXIxJjAkBgkqhkiG9w0BCQEWF2V4YW1wbGVzZXJ2ZXJAbG9jYWxob3N0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAsdI1TBjzX1PgQXFuPCw5/kQwU7qkrhirMcFAXhI8EoXepPa9fKAVuMjHW32P6nNzDpnhFe0YGdNloIEN3hJJ87cVOqj4o7zZMbq3zVG2L8As7MTA8tYXm2fSC/0rIxxRRemcGUXM0q+4LEACjZj2pOKonaivF5VbhgNjPCO1Jj/TamUc0aViE577C9L9EiObGM+bGbabWk/KWKLsvxUc+sKZXaJ7psTVgpggJAkUszlmwOQgFiMSR53E9/CAkQYhzGVCmH44Vs6Hzs3RZjOTbce4wr4ongiA5LbPeSNSCFjy9loKpaE1rtOjkNBVdiNPCQTmLuODXUTKgkeL+9v/OwIDAQABo3sweTAJBgNVHRMEAjAAMCwGCWCGSAGG+EIBDQQfFh1PcGVuU1NMIEdlbmVyYXRlZCBDZXJ0aWZpY2F0ZTAdBgNVHQ4EFgQU83qEtQDFzDvLoaIIvqiU6k7j1uswHwYDVR0jBBgwFoAUc1YQIqjZsHVwlea0AB4N+ilNI2gwDQYJKoZIhvcNAQELBQADggEBAJ+QOLi4gPWGofMkLTqSsbv5xRvTw0xa/sJnEeiejtygAu3oMcAsyevSH9EYVPCANxzISPzd9SFaO56HxWgcxLn9vi8ZNvo2wIp9zucNu285ced1K/2nDZfBmvBxXnj/n7spwqOyuoIc8sR7P7YyI806Qsfhk3ybNZE5UHJFZKDRQKvRJ1t4nk9saeo87kIuNEDfYNdwYZzRfXoGJ5qIJQK+uJJv9noaIhfFowDW/G14Ji5pVh/YtvnOPh7aBjOj8jmzk8MqzK+TZgT7GWu48Nd/NaV8g/DNg9hlN047LaNsJly3NX3+VBlpMnA4rKwl1OnmYSirIVh9RJqNwqe6k/k=""namespace": "urn:ietf:params:xml:ns:yang:ietf-system",
          "location": [
            "NETCONF"
          ]
        }
      ]
    },
    "statistics": {
     }
   "out-rpc-errors": 0,
      "out-notifications": 0,
      "in-bad-hellos": 0,
        ]"dropped-sessions": 0,
      "in-sessions": 1,
      "in-rpcs": 78,
       }"netconf-start-time": "2022-05-19T14:23:27Z",
      "in-bad-rpcs": 0
    },
     },"sessions": {
      "session": [
         {
          "session-id": 1,
          "namesource-host": "ssh_host_rsa_key172.21.0.3",
          "username": "netconf",
          "algorithmlogin-time": "ietf-keystore:rsa"2022-05-19T14:32:39Z",
                }"out-rpc-errors": 0,
            ]
  "transport": "ietf-netconf-monitoring:netconf-tls",
      },
        "trustedout-certificatesnotifications": [0,
            {
    "in-rpcs": 78,
            "name"in-bad-rpcs": "trusted_ca_list",0
        }
      ]
  "trusted-certificate": [  },
    "capabilities": {
      "capability": [
        {"urn:ietf:params:netconf:capability:xpath:1.0",
        "urn:ietf:params:xml:ns:yang:ietf-x509-cert-to-name?module=ietf-x509-cert-to-name&revision=2014-12-10",
        "urn:ietf:params:netconf:base:1.1",
        "name": "caurn:ietf:params:netconf:capability:startup:1.0",
        "urn:ietf:params:netconf:capability:yang-library:1.0?revision=2019-01-04&module-set-id=23",
        "urn:ietf:params:netconf:base:1.0",
          "certificate": "MIID7TCCAtWgAwIBAgIJAMtE1NGAR5KoMA0GCSqGSIb3DQEBBQUAMIGMMQswCQYDVQQGEwJDWjEWMBQGA1UECAwNU291dGggTW9yYXZpYTENMAsGA1UEBwwEQnJubzEPMA0GA1UECgwGQ0VTTkVUMQwwCgYDVQQLDANUTUMxEzARBgNVBAMMCmV4YW1wbGUgQ0ExIjAgBgkqhkiG9w0BCQEWE2V4YW1wbGVjYUBsb2NhbGhvc3QwHhcNMTQwNzI0MTQxOTAyWhcNMjQwNzIxMTQxOTAyWjCBjDELMAkGA1UEBhMCQ1oxFjAUBgNVBAgMDVNvdXRoIE1vcmF2aWExDTALBgNVBAcMBEJybm8xDzANBgNVBAoMBkNFU05FVDEMMAoGA1UECwwDVE1DMRMwEQYDVQQDDApleGFtcGxlIENBMSIwIAYJKoZIhvcNAQkBFhNleGFtcGxlY2FAbG9jYWxob3N0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArD3TDHPAMT2Z84orK4lMlarbgooIUCcRZyLe+QM+8KY8Hn+mGaxPEOTSL3ywszqefB/Utm2hPKLHX684iRC14ID9WDGHxPjvoPArhgFhfV+qnPfxKTgxZC12uOj4u1V9y+SkTCocFbRfXVBGpojrBuDHXkDMDEWNvr8/52YCv7bGaiBwUHolcLCUbmtKILCG0RNJyTaJpXQdAeq5Z1SJotpbfYFFtAXB32hVoLug1dzl2tjG9sb1wq3QaDExcbC5w6P65qOkNoyym9ne6QlQagCqVDyFn3vcqkRaTjvZmxauCeUxXgJoXkyWcm0lM1KMHdoTArmchw2Dz0yHHSyDAQIDAQABo1AwTjAdBgNVHQ4EFgQUc1YQIqjZsHVwlea0AB4N+ilNI2gwHwYDVR0jBBgwFoAUc1YQIqjZsHVwlea0AB4N+ilNI2gwDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOCAQEAI/1KH60qnw9Xs2RGfi0/IKf5EynXt4bQX8EIyVKwSkYKe04zZxYfLIl/Q2HOPYoFmm3daj5ddr0ZS1i4p4fTUhstjsYWvXs3W/HhVmFUslakkn3PrswhP77fCk6eEJLxdfyJ1C7Uudq2m1isZbKih+XF0mG1LxJaDMocSz4eAya7M5brwjy8DoOmA1TnLQFCVcpn+sCr7VC4wE/JqxyVhBCk/MuGqqM3B1j90bGFZ112ZOecyE0EDSr6IbiRBtmeNbEwOFjKXhNLYdxpBZ9D8A/368OckZkCrVLGuJNxK9UwCVTe8IhotHUqU9EqFDmxdV8oIdU/OzUwwNPA/Bd/9g==""urn:ietf:params:xml:ns:yang:ietf-netconf-notifications?module=ietf-netconf-notifications&revision=2012-02-06",
                    }
                ]"urn:ietf:params:xml:ns:yang:ietf-netconf-acm?module=ietf-netconf-acm&revision=2018-02-14",
            }"urn:ietf:params:xml:ns:netconf:base:1.0?module=ietf-netconf&revision=2011-06-01&features=writable-running,candidate,rollback-on-error,validate,startup,url,xpath",
        ]"urn:ietf:params:xml:ns:netmod:notification?module=nc-notifications&revision=2008-07-14",
    },
    "ietf-yang-library:modules-state": {urn:ietf:params:xml:ns:yang:ietf-yang-metadata?module=ietf-yang-metadata&revision=2016-08-05",
        "module-set-id": "23"urn:ietf:params:netconf:capability:writable-running:1.0",
        "urn:ietf:params:xml:ns:yang:ietf-yang-types?module": [=ietf-yang-types&revision=2013-07-15",
            {"urn:ietf:params:netconf:capability:notification:1.0",
        "http://example.net/turing-machine?module=turing-machine&revision=2013-12-27",
        "name"urn: "ietf-ssh-serverietf:params:xml:ns:yang:1?module=yang&revision=2017-02-20",
        "urn:ietf:params:netconf:capability:rollback-on-error:1.0",
        "revision": "2016-11-02urn:ietf:params:netconf:capability:with-defaults:1.0?basic-mode=explicit&also-supported=report-all,report-all-tagged,trim,explicit",
        "urn:ietf:params:xml:ns:yang:ietf-netconf-with-defaults?module=ietf-netconf-with-defaults&revision=2011-06-01",
        "conformance-type": "import",
   urn:ietf:params:netconf:capability:candidate:1.0",
             "namespace": "urn:ietf:params:xml:ns:yang:ietf-ssh-server"netconf:notification:1.0?module=notifications&revision=2008-07-14",
            },
            {
      "urn:ietf:params:netconf:capability:interleave:1.0",
          "name"urn: "ietf-netconf-acm",
        ietf:params:xml:ns:yang:iana-crypt-hash?module=iana-crypt-hash&revision=2014-08-06",
        "revision": "2018-02-14urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring?module=ietf-netconf-monitoring&revision=2010-10-04",
        "urn:ietf:params:netconf:capability:validate:1.1",
        "conformance-type": "import"urn:ietf:params:xml:ns:yang:ietf-inet-types?module=ietf-inet-types&revision=2013-07-15",
         "urn:ietf:params:netconf:capability:url:1.0",
       "namespace": "urn:ietf:params:xml:ns:yang:ietf-netconf-acm-system?module=ietf-system&revision=2014-08-06&features=authentication,local-users"
      ]
    }
  },
  "turing-machine:turing-machine": {
    "transition-function": {
      "delta": {[
        {
          "namelabel": "ietf-tls-serverseparator",
                "revision"output": "2016-11-02",
    {
            "conformance-typestate": "import"1,
                "namespacesymbol": "urn:ietf:params:xml:ns:yang:ietf-tls-server1"
            },
          "input":  {
                "namestate": "ietf-yang-metadata"0,
                "revisionsymbol": "2016-08-050",
          }
       "conformance-type": "import" },
        {
          "namespacelabel": "urn:ietf:params:xml:ns:yang:ietf-yang-metadata"right end",
            },
  "output": {
          {
  "state": 2,
             "namehead-move": "nc-notificationsleft",
          },
          "revisioninput": "2008-07-14",{
                "conformance-type"state": "implement"1,
                "namespacesymbol": "urn:ietf:params:xml:ns:netmod:notification"
            },
        },
    {
    {
            "namelabel": "iana-crypt-hashwrite separator",
          "output": {
            "revisionstate": "2014-08-06"3,
                "conformancehead-typemove": "importleft",
                "namespacesymbol": "urn:ietf:params:xml:ns:yang:iana-crypt-hash0"
            },
          "input":  {
                "namestate": "ietf-netconf-server"2,
                "revisionsymbol": "2016-11-021",
          }
      "feature": [  },
        {
          "label": "right summand"tls-call-home",
          "input": {
            "ssh-listen"state": 1,
                    "tls-listen","symbol": "1"
          }
          "ssh-call-home"},
        {
          "label": "go home"listen",
          "output": {
            "call-homehead-move": "left"
          },
       ],
   "input": {
            "conformance-typestate": "implement"3,
                "namespacesymbol": "urn:ietf:params:xml:ns:yang:ietf-netconf-server1"
            },
        },
    {
      {
          "namelabel": "storesfinal step",
                "revisionoutput": "2020-09-15",{
            "state": 4
   "conformance-type": "implement",
      },
          "namespaceinput": "org:onap:ccsdk:sample"{
            }"state": 3,
             {
"symbol": ""
          }
       "name": "ietf-yang-types" },
        {
          "revisionlabel": "2013-07-15left summand",
          "input": {
         "conformance-type   "state": "import"0,
                "namespacesymbol": "urn:ietf:params:xml:ns:yang:ietf-yang-types1"
            },
        }
    {
  ]
    }
  },
  "stores:bookstore": {
     "namecategories": "yang",[
      {
          "revisioncode": "2017-02-2005",
        "books": [
       "conformance-type": "implement",
    {
            "namespacetitle": "urn:ietf:params:xml:ns:yang:1"A Romance Book",
            }"price": "2000",
            {
    "pub_year": 2002,
             "namelang": "ietf-systemEnglish",
                "revisionauthors": "2014-08-06",
 [
               "featureLathish": [
            ]
        "local-users",
  }
        ],
         "name": "authenticationRomance"
      }
    ]
      ]},
  "ietf-keystore:keystore": {
    "private-keys": {
        "conformanceprivate-typekey": "implement",[
        {
          "namespacename": "urn:ietf:params:xml:ns:yang:ietf-system"server_key",
          "certificate-chains": {
 },
            {"certificate-chain": [
                "name": "ietf-inet-types", {
                "revisionname": "2013-07-15server_cert",
                "conformance-typecertificate": "import",[
                "namespace": "urn:ietf:params:xml:ns:yang:ietf-inet-types  "MIIECTCCAvGgAwIBAgIBCDANBgkqhkiG9w0BAQsFADCBjDELMAkGA1UEBhMCQ1oxFjAUBgNVBAgMDVNvdXRoIE1vcmF2aWExDTALBgNVBAcMBEJybm8xDzANBgNVBAoMBkNFU05FVDEMMAoGA1UECwwDVE1DMRMwEQYDVQQDDApleGFtcGxlIENBMSIwIAYJKoZIhvcNAQkBFhNleGFtcGxlY2FAbG9jYWxob3N0MB4XDTE1MDczMDA3MjU1MFoXDTM1MDcyNTA3MjU1MFowgYUxCzAJBgNVBAYTAkNaMRYwFAYDVQQIDA1Tb3V0aCBNb3JhdmlhMQ8wDQYDVQQKDAZDRVNORVQxDDAKBgNVBAsMA1RNQzEXMBUGA1UEAwwOZXhhbXBsZSBzZXJ2ZXIxJjAkBgkqhkiG9w0BCQEWF2V4YW1wbGVzZXJ2ZXJAbG9jYWxob3N0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAsdI1TBjzX1PgQXFuPCw5/kQwU7qkrhirMcFAXhI8EoXepPa9fKAVuMjHW32P6nNzDpnhFe0YGdNloIEN3hJJ87cVOqj4o7zZMbq3zVG2L8As7MTA8tYXm2fSC/0rIxxRRemcGUXM0q+4LEACjZj2pOKonaivF5VbhgNjPCO1Jj/TamUc0aViE577C9L9EiObGM+bGbabWk/KWKLsvxUc+sKZXaJ7psTVgpggJAkUszlmwOQgFiMSR53E9/CAkQYhzGVCmH44Vs6Hzs3RZjOTbce4wr4ongiA5LbPeSNSCFjy9loKpaE1rtOjkNBVdiNPCQTmLuODXUTKgkeL+9v/OwIDAQABo3sweTAJBgNVHRMEAjAAMCwGCWCGSAGG+EIBDQQfFh1PcGVuU1NMIEdlbmVyYXRlZCBDZXJ0aWZpY2F0ZTAdBgNVHQ4EFgQU83qEtQDFzDvLoaIIvqiU6k7j1uswHwYDVR0jBBgwFoAUc1YQIqjZsHVwlea0AB4N+ilNI2gwDQYJKoZIhvcNAQELBQADggEBAJ+QOLi4gPWGofMkLTqSsbv5xRvTw0xa/sJnEeiejtygAu3oMcAsyevSH9EYVPCANxzISPzd9SFaO56HxWgcxLn9vi8ZNvo2wIp9zucNu285ced1K/2nDZfBmvBxXnj/n7spwqOyuoIc8sR7P7YyI806Qsfhk3ybNZE5UHJFZKDRQKvRJ1t4nk9saeo87kIuNEDfYNdwYZzRfXoGJ5qIJQK+uJJv9noaIhfFowDW/G14Ji5pVh/YtvnOPh7aBjOj8jmzk8MqzK+TZgT7GWu48Nd/NaV8g/DNg9hlN047LaNsJly3NX3+VBlpMnA4rKwl1OnmYSirIVh9RJqNwqe6k/k="
            },
    ]
         {
     }
           "name": "ietf-keystore", ]
          }
       "revision": "2016-10-31" },
        {
          "conformance-typename": "implementssh_host_rsa_key",
                "namespace"algorithm": "urn:ietf:params:xml:ns:yang:ietf-keystore:rsa"
        }
      ]
    },
    "trusted-certificates": [
       {
        "name": "trusted_ca_list",
        "nametrusted-certificate": "ietf-datastores",[
          {
            "revisionname": "2017-08-17ca",
                "conformance-type": "import","certificate": "MIID7TCCAtWgAwIBAgIJAMtE1NGAR5KoMA0GCSqGSIb3DQEBBQUAMIGMMQswCQYDVQQGEwJDWjEWMBQGA1UECAwNU291dGggTW9yYXZpYTENMAsGA1UEBwwEQnJubzEPMA0GA1UECgwGQ0VTTkVUMQwwCgYDVQQLDANUTUMxEzARBgNVBAMMCmV4YW1wbGUgQ0ExIjAgBgkqhkiG9w0BCQEWE2V4YW1wbGVjYUBsb2NhbGhvc3QwHhcNMTQwNzI0MTQxOTAyWhcNMjQwNzIxMTQxOTAyWjCBjDELMAkGA1UEBhMCQ1oxFjAUBgNVBAgMDVNvdXRoIE1vcmF2aWExDTALBgNVBAcMBEJybm8xDzANBgNVBAoMBkNFU05FVDEMMAoGA1UECwwDVE1DMRMwEQYDVQQDDApleGFtcGxlIENBMSIwIAYJKoZIhvcNAQkBFhNleGFtcGxlY2FAbG9jYWxob3N0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArD3TDHPAMT2Z84orK4lMlarbgooIUCcRZyLe+QM+8KY8Hn+mGaxPEOTSL3ywszqefB/Utm2hPKLHX684iRC14ID9WDGHxPjvoPArhgFhfV+qnPfxKTgxZC12uOj4u1V9y+SkTCocFbRfXVBGpojrBuDHXkDMDEWNvr8/52YCv7bGaiBwUHolcLCUbmtKILCG0RNJyTaJpXQdAeq5Z1SJotpbfYFFtAXB32hVoLug1dzl2tjG9sb1wq3QaDExcbC5w6P65qOkNoyym9ne6QlQagCqVDyFn3vcqkRaTjvZmxauCeUxXgJoXkyWcm0lM1KMHdoTArmchw2Dz0yHHSyDAQIDAQABo1AwTjAdBgNVHQ4EFgQUc1YQIqjZsHVwlea0AB4N+ilNI2gwHwYDVR0jBBgwFoAUc1YQIqjZsHVwlea0AB4N+ilNI2gwDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOCAQEAI/1KH60qnw9Xs2RGfi0/IKf5EynXt4bQX8EIyVKwSkYKe04zZxYfLIl/Q2HOPYoFmm3daj5ddr0ZS1i4p4fTUhstjsYWvXs3W/HhVmFUslakkn3PrswhP77fCk6eEJLxdfyJ1C7Uudq2m1isZbKih+XF0mG1LxJaDMocSz4eAya7M5brwjy8DoOmA1TnLQFCVcpn+sCr7VC4wE/JqxyVhBCk/MuGqqM3B1j90bGFZ112ZOecyE0EDSr6IbiRBtmeNbEwOFjKXhNLYdxpBZ9D8A/368OckZkCrVLGuJNxK9UwCVTe8IhotHUqU9EqFDmxdV8oIdU/OzUwwNPA/Bd/9g=="
          }
      "namespace": "urn:ietf:params:xml:ns:yang:ietf-datastores"  ]
      }
    ]
  },
  "ietf-yang-library:modules-state": {
    "module-set-id": "23",
    "module": {[
      {
          "name": "ietf-yangssh-libraryserver",
                "revision": "20192016-0111-0402",
                "conformance-type": "implementimport",
                "namespace": "urn:ietf:params:xml:ns:yang:ietf-yangssh-libraryserver"
            },
            {
                "name": "ietf-netconf-notifications",
        acm",
        "revision": "20122018-02-0614",
                "conformance-type": "implementimport",
                "namespace": "urn:ietf:params:xml:ns:yang:ietf-netconf-notificationsacm"
            },
            {
                "name": "ietf-netconftls-server",
                "revision": "20112016-0611-0102",
                "feature"conformance-type": ["import",
                    "writable-running","namespace": "urn:ietf:params:xml:ns:yang:ietf-tls-server"
      },
      {
        "name": "candidateietf-yang-metadata",
                   "revision": "startup2016-08-05",
        "conformance-type": "import",
           "url","namespace": "urn:ietf:params:xml:ns:yang:ietf-yang-metadata"
      },
      {
        "name": "rollbacknc-on-errornotifications",
        "revision": "2008-07-14",
           "validate"conformance-type": "implement",
        "namespace": "urn:ietf:params:xml:ns:netmod:notification"
           "xpath"},
      {
          ]"name": "iana-crypt-hash",
        "revision": "2014-08-06",
        "conformance-type": "implementimport",
                "namespace": "urn:ietf:params:xml:ns:netconf:base:1.0yang:iana-crypt-hash"
      },
      },{
        "name": "ietf-netconf-server",
        {"revision": "2016-11-02",
        "feature": [
         "name": "ietftls-netconfcall-monitoringhome",
          "ssh-listen",
          "revision": "2010-10-04tls-listen",
          "ssh-call-home",
          "listen",
          "conformancecall-type": "implement"home"
        ],
          "conformance-type": "implement",
        "namespace": "urn:ietf:params:xml:ns:yang:ietf-netconf-monitoringserver"
            },
            {
                "name": "turing-machinestores",
                "revision": "20132020-1209-2715",
                "conformance-type": "implement",
                "namespace": "http://example.net/turing-machine"
     org:onap:ccsdk:sample"
       },
            {
                "name": "notificationsietf-yang-types",
                "revision": "20082013-07-1415",
                "conformance-type": "implementimport",
                "namespace": "urn:ietf:params:xml:ns:netconf:notification:1.0"
     yang:ietf-yang-types"
       },
            {
                "name": "ietf-x509-cert-to-nameyang",
                "revision": "20142017-1202-1020",
                "conformance-type": "implement",
                "namespace": "urn:ietf:params:xml:ns:yang:ietf-x509-cert-to-name1"
            },
            {
        "name": "ietf-system",
        "namerevision": "ietf2014-netconf08-with-defaults06",
        "feature": [
         "revision": "2011local-06-01users",
          "authentication"
       "conformance-type": "implement" ],
        "conformance-type": "implement",
        "namespace": "urn:ietf:params:xml:ns:yang:ietf-netconf-with-defaultssystem"
      },
      }{
        ]"name": "ietf-inet-types",
    },
    "nc-notifications:netconfrevision": {"2013-07-15",
        "streamsconformance-type": {"import",
            "streamnamespace": ["urn:ietf:params:xml:ns:yang:ietf-inet-types"
      },
          {
        "name": "ietf-keystore",
           "namerevision": "nc2016-10-notifications31",
        "conformance-type": "implement",
         "namespace":  "replaySupport": true"urn:ietf:params:xml:ns:yang:ietf-keystore"
      },
      {
    },
    "name": "ietf-datastores",
           {"revision": "2017-08-17",
        "conformance-type": "import",
           "namenamespace": "urn:ietf:params:xml:ns:yang:ietf-keystoredatastores",
      },
      {
        "replaySupportname": true"ietf-yang-library",
        "revision": "2019-01-04",
         }"conformance-type": "implement",
        "namespace": "urn:ietf:params:xml:ns:yang:ietf-yang-library"
       {},
            {
        "name": "ietf-yangnetconf-librarynotifications",
          "revision": "2012-02-06",
          "replaySupportconformance-type": false"implement",
          "namespace": "urn:ietf:params:xml:ns:yang:ietf-netconf-notifications"
      },
                {
                    "name": "NETCONFietf-netconf",
                    "descriptionrevision": "Default NETCONF stream containing all the Event Notifications.2011-06-01",
        "feature": [
           "replaySupport": truewritable-running",
                },
    "candidate",
            {"startup",
          "url",
          "name": "ietf-netconf-notificationsrollback-on-error",
          "validate",
          "replaySupportxpath": true
        ],
        }"conformance-type": "implement",
        "namespace": "urn:ietf:params:xml:ns:netconf:base:1.0"
       {
},
      {
        "name": "ietf-netconf-monitoring",
        "namerevision": "turing2010-10-machine04",
        "conformance-type": "implement",
           "replaySupportnamespace": true"urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring"
          },
      }{
        "name": "turing-machine",
   ]
        }"revision": "2013-12-27",
    },
    "ietfconformance-system:systemtype": {"implement",
        "authenticationnamespace": {"http://example.net/turing-machine"
      },
      "user": [{
        "name": "notifications",
       {
 "revision": "2008-07-14",
        "conformance-type": "implement",
         "namenamespace": "urn:ietf:params:xml:ns:netconf:notification:1.0",
      },
      {
        "name": "authorized-key": [ietf-x509-cert-to-name",
        "revision": "2014-12-10",
        "conformance-type": "implement",
      {
  "namespace": "urn:ietf:params:xml:ns:yang:ietf-x509-cert-to-name"
      },
        {
           "name": "id_rsaietf-netconf-with-defaults",
        "revision": "2011-06-01",
        "conformance-type": "implement",
          "algorithmnamespace": "ssh-rsa",urn:ietf:params:xml:ns:yang:ietf-netconf-with-defaults"
      }
    ]
  },
  "nc-notifications:netconf": {
    "streams": {
           "key-data": "AAAAB3NzaC1yc2EAAAADAQABAAABAQD4pCY/jetSrsN3ToQwSIopEwDEFps7l327brjqp8a0vXmGuNztvnNDuQyGD5lKLDeK+dGSz+aHdCnD/10rIVSVxnw/TCyGWGHsYHpXqK0ZdiJ6HXX8FqGylTJZWTiSLSDrUwk8Mq8uIk3Sdy5E9yGgKcmA5GInBQuqMhZbzt1KhLhyp67+dIJ+D3b/JzSyPRHt9XMBpGTYMEuhjBM2aH5C9pltrmRq2NIF/cST1eidhTV2wMSqGm9jwDG7CwxAeYvan1cazZIrIfY7a/rD3sbxSPlzH92nUhw8m0qneKjDWO+kzCJVlWQ/q9c6hg69N2tBctYel3WTFw1usbbG/ZCF""stream": [
        {
          "name": "nc-notifications",
     }
     "replaySupport": true
        },
      ]
  {
              }"name": "ietf-keystore",
            ]"replaySupport": true
        },
    },
    "ietf-netconf-server:netconf-server": {
          "listenname": {
  "ietf-yang-library",
          "endpointreplaySupport": [false
        },
        {
                    "name": "all-interfacesNETCONF",
          "description": "Default NETCONF stream containing all the Event Notifications.",
          "sshreplaySupport": {true
        },
        {
          "addressname": "0.0.0.0ietf-netconf-notifications",
          "replaySupport": true
        },
     "port": 830,
  {
          "name": "turing-machine",
           "host-keysreplaySupport": {true
        }
      ]
    }
  },
    "ietf-system:system": {
    "host-keyauthentication": [{
      "user": [
        {
          "name": "netconf",
      {
         "authorized-key": [
             {
              "name": "imported SSH keyid_rsa",
                    "algorithm": "ssh-rsa",
                "publickey-keydata": "ssh_host_rsa_keyAAAAB3NzaC1yc2EAAAADAQABAAABAQD4pCY/jetSrsN3ToQwSIopEwDEFps7l327brjqp8a0vXmGuNztvnNDuQyGD5lKLDeK+dGSz+aHdCnD/10rIVSVxnw/TCyGWGHsYHpXqK0ZdiJ6HXX8FqGylTJZWTiSLSDrUwk8Mq8uIk3Sdy5E9yGgKcmA5GInBQuqMhZbzt1KhLhyp67+dIJ+D3b/JzSyPRHt9XMBpGTYMEuhjBM2aH5C9pltrmRq2NIF/cST1eidhTV2wMSqGm9jwDG7CwxAeYvan1cazZIrIfY7a/rD3sbxSPlzH92nUhw8m0qneKjDWO+kzCJVlWQ/q9c6hg69N2tBctYel3WTFw1usbbG/ZCF"
            }
          ]
          }
      ]
    }
  },
  "ietf-netconf-server:netconf-server": {
    "listen": {
        ]"endpoint": [
        {
          "name": "all-interfaces",
     }
     "ssh": {
              }"address": "0.0.0.0",
                }"port": 830,
                "host-keys": {
                    "name"host-key": "tls_listen_endpt",[
                    "tls": {
                        "address"name": "0.0.0.0imported SSH key",
                        "client-auth"public-key": {"ssh_host_rsa_key"
                }
             "trusted-ca-certs": "trusted_ca_list",
 ]
            }
          }
       "cert-maps": { },
        {
            "name": "tls_listen_endpt",
            "cert-to-name"tls": [{
            "address": "0.0.0.0",
            "client-auth": {
          {
    "trusted-ca-certs": "trusted_ca_list",
                   "cert-maps": {
                "idcert-to-name": 1,[
                  {
                      "nameid": "netconf"1,
                    "name": "netconf",
                    "map-type": "ietf-x509-cert-to-name:specified",
                                        "fingerprint": "02:E9:38:1F:F6:8B:62:DE:0A:0B:C5:03:81:A8:03:49:A0:00:7F:8B:F3"
                  }
                ]
              }
            },
            "port": 6513,
            "certificates": {
     ]
         "certificate": [
                  }{
                  "name": "server_cert"
     },
           }
             "port": 6513, ]
            }
          }
  "certificates": {
     }
      ]
          }
  }
}

The data received from the RAN should be updated in the CPS DB. The CPS currently supports the persist of the data in the format below. eg: stores:bookstore in the format <module>:<top level container>

The PNF simulator returns multiple resources but the actual RAN will return just one resource. So it is agreed to persist the first resource that is received from the RAN. 

Code Block
languagexml
titleData from RAN
{
  "stores:bookstore": {
       "certificatecategories": [
      {
        "code": "05",
        "books": [
          {
            "title": "A           Romance Book",
            "nameprice": "server_cert2000",
            "pub_year": 2002,
                   }"lang": "English",
            "authors": [
               ]"Lathish"
              ]
          }
        ],
            }
    "name": "Romance"
            }
            ]
        }
    }
}