Subject: [netconf] pls clarify get operation

From: "Fengchong (frank)" <[email-masked]>
Date: Thu, 27 Jun 2019 01:58:55 +0000

Hi all,
In RFC6241, get operation is defined as:
7.7<https://tools.ietf.org/html/rfc6241#section-7.7>.  <get>

   Description:  Retrieve running configuration and device state

      information.
This description is too simply, so I think it should be clarified.

The case is: a data node modelled by one yang can be configured by user, but also can be created/modified by system or other protocols. If client issues get operation to retrieve this node,
          The data is created/modified by system or other protocols SHOULD be returned?
          For example:
          Rib can be configured by user and also can be created by routing protocols. In RFC 8349, the rib list is defined as:

      +--rw ribs

         +--rw rib* [name]

            +--rw name              string

            +--rw address-family?   identityref

            +--ro default-rib?      boolean {multiple-ribs}?

            +--ro routes

            |  +--ro route*

            |        ...

            +---x active-route

            |  +---w input

            |  |  +---w v4ur:destination-address?   inet:ipv4-address

            |  |  +---w v6ur:destination-address?   inet:ipv6-address

            |  +--ro output

            |        ...

            +--rw description?      string

       If client issued get operation to retrieve ribs from non-NMDA device, rib instance created by routing protocols should be returned?

       Another associated question: If client issued get-config operation from non-NMDA device, only user-controlled rib instance should be returned?