Uploaded image for project: 'netconf'
  1. netconf
  2. NETCONF-882

Allow restconf base URI to be configurable for streams API

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Medium Medium
    • None
    • None
    • restconf-nb
    • None

      For example request:

      curl -X GET http://localhost:8181/rests/data/ietf-restconf-monitoring:restconf-state/streams

      Response:

      ...
      },
      "access": [

      { "encoding": "JSON", "location": "http://localhost:8181/*rests*/notif/notification-stream/ietf-netconf-notifications:netconf-session-start/JSON" }

      ,

      { "encoding": "XML", "location": "http://localhost:8181/*rests*/notif/notification-stream/ietf-netconf-notifications:netconf-session-start" }

      ],
      "description": "Generated when a NETCONF server detects that a\nNETCONF session has started. A server MAY generate\nthis event for non-NETCONF management sessions.\nIndicates the identity of the user that started\nthe session.",
      "name": "netconf-session-start",
      "replay-support": true
      },
      ...

      Introduce configuration option to allow restconf base URI to be configurable:

      #example of restconf8040 configuration
      #Default values:
      #maximum-fragment-length=0
      #heartbeat-interval=10000
      #idle-timeout=30000
      #ping-executor-name-prefix=ping-executor
      #max-thread-count=1
      #use-sse=true
      location-path-prefix=restconf/v1

            hjslgfsd7 Valentin Mayamsin
            hjslgfsd7 Valentin Mayamsin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: