X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=ordmodels%2Fcommon%2Fsrc%2Fmain%2Fyang%2Forg-openroadm-resource%402019-05-31.yang;h=9bbac775786553b7d91112d9eae58914a9d27dda;hb=2539ad8fe56109ad558c0169fe3315ed32e44a47;hp=3089afd1924ca6ccde1f7a6d431e2a9f7c04c336;hpb=e376a7f4aca935a952013993d712b7667f847e70;p=transportpce.git diff --git a/ordmodels/common/src/main/yang/org-openroadm-resource@2019-05-31.yang b/ordmodels/common/src/main/yang/org-openroadm-resource@2019-05-31.yang index 3089afd19..9bbac7757 100644 --- a/ordmodels/common/src/main/yang/org-openroadm-resource@2019-05-31.yang +++ b/ordmodels/common/src/main/yang/org-openroadm-resource@2019-05-31.yang @@ -220,39 +220,39 @@ module org-openroadm-resource { "The type of the interface."; } container ethernet { - when "type = 'ethernetCsmacd'"; + when "../type = 'ethernetCsmacd'"; description "Ethernet Interfaces"; uses eth-attributes; } container mc-ttp { - when "type = 'mediaChannelTrailTerminationPoint'"; + when "../type = 'mediaChannelTrailTerminationPoint'"; description "Media Channel Trail Termination Point (MC-TTP)"; uses mc-ttp-attributes; } container nmc-ctp { - when "type = 'networkMediaChannelConnectionTerminationPoint'"; + when "../type = 'networkMediaChannelConnectionTerminationPoint'"; description "Network Media Channel Connection Termination Point (NMC-CTP)"; uses nmc-ctp-attributes; } container och { - when "type = 'opticalChannel'"; + when "../type = 'opticalChannel'"; description "Optical Channel (OCh): Models the optical channel interfaces for an Optical White Box."; uses och-attributes; } container odu { - when "type = 'otnOdu'"; + when "../type = 'otnOdu'"; presence "Attribute Nodes for Optical Data Unit (ODU)"; description "Optical Channel Data Unit (ODU)"; uses odu-attributes; } container otu { - when "type = 'otnOtu'"; + when "../type = 'otnOtu'"; description "Optical Channel Transport Unit (OTU)"; uses otu-attributes;