Erik Kline via Datatracker <[email protected]> writes:

----------------------------------------------------------------------
COMMENT:
----------------------------------------------------------------------

[[ questions ]]

[ section 2.1 ]

* Is WGS-84 still the default for geodetic-datum when
  astronomical-body != "earth"?

  I think I might find it surprising if it were (i.e. if
  astronomical-body="enceladus" and geodetic-datum still defaults to "wgs-84"
  as opposed to an unspecified value or something that might cause a useful
  error message to be generated).

  I don't know enough YANG to know if the "when" statement is usable in this
  case to constrain the applicability of this default or not.

This is very interesting question. I do not believe there are multiple defaults 
allowed. I have actually run into this in other YANG modules where it would be 
nice to have conditional defaults.

I think the only thing we can do is either have no default which seems sub-optimal given 
+99% of the use cases will be "earth", or make a note in the description that 
the default should be overridden by explicitly setting, when the astronomical body is != 
earth.

Thanks,
Chris.

[[ nits ]]

[ section 3 ]

* In the description of "leaf astronomical-body",
  '67p/churyumov-gerasimenko lacks a closing quotation mark.



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

Attachment: signature.asc
Description: PGP signature

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

Reply via email to