+ container hop-count {
+ description
+ "Maximum hops allowed";
+ leaf max-wdm-hop-count {
+ type uint8;
+ }
+ leaf max-otn-hop-count {
+ type uint8;
+ }
+ }
+ container TE-metric {
+ description
+ "Maximum cost allowed";
+ leaf max-wdm-TE-metric {
+ type uint32;
+ }
+ leaf max-otn-TE-metric {
+ type uint32;
+ }
+ }
+ container distance {
+ description
+ "Maximum distance allowed";
+ leaf max-distance {
+ type decimal64 {
+ fraction-digits 2;
+ }
+ units "km";
+ }
+ }