Subject: [Netconf] yang-push issue: encoding

From: Andy Bierman <[email-masked]>
Date: Thu, 30 Nov 2017 16:29:16 -0800

Hi,

In yang-push-11:

3.5 <https://tools.ietf.org/html/draft-ietf-netconf-yang-push-11#section-3.5>.
Data Encodings

   A publisher MUST support XML encoding and MAY support other encodings
   such as JSON encoding.

I do not think this draft should mention encoding.
It is up to the protocol to specify message encoding rules.
The NETCONF protocol supports XML only.
RESTCONF uses Accept and Content-Type headers to determine the encoding.
CoMI will use CBOR for YANG-encoded data.

Andy