With reference to "YANG Data Model for IEEE 1588v2" 
https://tools.ietf.org/html/draft-ietf-tictoc-1588v2-yang-05

I have a concern about the structure of the YANG, and how the lists 
port-ds-list and transparent-clock-port-ds-list are indexed with a leaf which 
is a leafref.

The structure seems unnecessarily complex - port-number is represented as a 
leaf directly beneath the list (to be used as key) and again under the 
port-identity container. It is structured in a way that I believe would make it 
difficult to work with some YANG tools in the market.

The purpose of port-identity container is not clear from the document - it 
would achieve the same purpose if it was left out of port-ds-entry and 
transparent-clock-port-ds-entry and instead the grouping port-identity-grouping 
included directly.

See the attached files as original, a modified version and as a patch file.

Sean Condon
=======================
Sean Condon
System & Software Architect
Frequency & Timing Division
Microsemi Inc.
[email protected]

Attachment: [email protected]
Description: [email protected]

Attachment: [email protected]
Description: [email protected]

Attachment: ietf-ptp-dataset-yang-diff.patch
Description: ietf-ptp-dataset-yang-diff.patch

_______________________________________________
TICTOC mailing list
[email protected]
https://www.ietf.org/mailman/listinfo/tictoc

Reply via email to