Uploaded image for project: 'integration-test'
  1. integration-test
  2. INTTEST-81 Increase Netconf CSIT Coverage
  3. INTTEST-112

create-device RPC to mount and ensure NETCONF-670 is fixed

    XMLWordPrintable

Details

    • Sub-task
    • Status: Open
    • Medium
    • Resolution: Unresolved
    • None
    • None
    • None

    Description

      there is a create-device RPC to create a netconf mount. I don't know if it's used
      anywhere in CSIT, but that would be the first step for this task.

      once we have that working, we need to ensure two different config options work
      in the original POST body. They come from the netconf-node-optional yang.

      netconf-node-optional:ignore-missing-schema-sources
      netconf-node-optional:datastore-lock

      an example body that should work (fails at this point until NETCONF-670 is fixed) is
      like this:

      {
          "input": {
              "login-password": {
                  "password": "password",
                  "username": "username"
              },
              "netconf-node-optional:ignore-missing-schema-sources": {
                  "reconnect-time": 5000,
                  "allowed": true
              },
              "netconf-node-optional:datastore-lock": {
                  "datastore-lock-allowed": true
              }
              "netconf-node-topology:node-id": "{{node}}",
              "actor-response-wait-time": 900,
              "concurrent-rpc-limit": 0,
              "host": "{{testtool-ip}}",
              "sleep-factor": 1,
              "port": 17830,
              "tcp-only": false,
              "connection-timeout-millis": 20000,
              "max-connection-attempts": 0,
              "keepalive-delay": 300,
              "schema-cache-directory": "MX2020-19.3R2.9",
              "between-attempts-timeout-millis": 2000,
              "schemaless": false,
              "default-request-timeout-millis": 600000
          }
      }
      

      The URI to send the POST will be like this:

      http://{{controller-ip}}:8181/restconf/operations/netconf-node-topology:create-device
      

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            Unassigned Unassigned
            jluhrsen Jamo Luhrsen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: