ipi-vlan-xc
+--rw cross-connects
+--rw cross-connect* [xconnect-name] {feature-list:HAVE_VLAN_XC}?
+--rw xconnect-name -> ../config/xconnect-name
+--rw config
| +--rw xconnect-name? string
| +--rw disable? empty
| +--rw backup-endpoint-1? string
| +--rw backup-endpoint-2? string
| +--rw revertive? empty
| +--rw link-fault-pass-through-enable? empty
+--ro state
| +--ro xconnect-name? string
| +--ro disable? empty
| +--ro backup-endpoint-1? string
| +--ro backup-endpoint-2? string
| +--ro revertive? empty
| +--ro link-fault-pass-through-enable? empty
| +--ro admin-status? ipi-vlan-xc-types:vlan_xc_admin_status_t
| +--ro oper-status? ipi-vlan-xc-types:vlan_xc_oper_status_t
| +--ro ep1-rx-pkts? yang:counter64
| +--ro ep1-rx-bytes? yang:counter64
| +--ro ep1-tx-pkts? yang:counter64
| +--ro ep1-tx-bytes? yang:counter64
| +--ro ep2-rx-pkts? yang:counter64
| +--ro ep2-rx-bytes? yang:counter64
| +--ro ep2-tx-pkts? yang:counter64
| +--ro ep2-tx-bytes? yang:counter64
| +--ro bkp-ep1-rx-pkts? yang:counter64
| +--ro bkp-ep1-rx-bytes? yang:counter64
| +--ro bkp-ep1-tx-pkts? yang:counter64
| +--ro bkp-ep1-tx-bytes? yang:counter64
| +--ro bkp-ep2-rx-pkts? yang:counter64
| +--ro bkp-ep2-rx-bytes? yang:counter64
| +--ro bkp-ep2-tx-pkts? yang:counter64
| +--ro bkp-ep2-tx-bytes? yang:counter64
+--rw cross-connect-port
| +--rw config!
| | +--rw port-endpoint-1 -> /ipi-interface:interfaces/interface/name
| | +--rw port-endpoint-2 -> /ipi-interface:interfaces/interface/name
| +--ro state
| +--ro port-endpoint-1 -> /ipi-interface:interfaces/interface/name
| +--ro port-endpoint-2 -> /ipi-interface:interfaces/interface/name
| +--ro ep1-rx-pkts? yang:counter64
| +--ro ep1-rx-bytes? yang:counter64
| +--ro ep1-tx-pkts? yang:counter64
| +--ro ep1-tx-bytes? yang:counter64
| +--ro ep2-rx-pkts? yang:counter64
| +--ro ep2-rx-bytes? yang:counter64
| +--ro ep2-tx-pkts? yang:counter64
| +--ro ep2-tx-bytes? yang:counter64
| +--ro bkp-ep1-rx-pkts? yang:counter64
| +--ro bkp-ep1-rx-bytes? yang:counter64
| +--ro bkp-ep1-tx-pkts? yang:counter64
| +--ro bkp-ep1-tx-bytes? yang:counter64
| +--ro bkp-ep2-rx-pkts? yang:counter64
| +--ro bkp-ep2-rx-bytes? yang:counter64
| +--ro bkp-ep2-tx-pkts? yang:counter64
| +--ro bkp-ep2-tx-bytes? yang:counter64
+--rw cross-connect-vlan
+--rw config!
| +--rw vlan-endpoint-1 -> /ipi-interface:interfaces/interface/name
| +--rw vlan-endpoint-2 -> /ipi-interface:interfaces/interface/name
+--ro state
| +--ro vlan-endpoint-1 -> /ipi-interface:interfaces/interface/name
| +--ro vlan-endpoint-2 -> /ipi-interface:interfaces/interface/name
+--rw vlan-xc-entries
+--rw vlan-xc-entry* [outer-vlan-range inner-vlan-range]
+--rw outer-vlan-range -> ../config/outer-vlan-range
+--rw inner-vlan-range -> ../config/inner-vlan-range
+--rw config
| +--rw outer-vlan-range? string
| +--rw inner-vlan-range? string
+--ro state
+--ro outer-vlan-range? string
+--ro inner-vlan-range? string
+--ro ep1-rx-pkts? yang:counter64
+--ro ep1-rx-bytes? yang:counter64
+--ro ep1-tx-pkts? yang:counter64
+--ro ep1-tx-bytes? yang:counter64
+--ro ep2-rx-pkts? yang:counter64
+--ro ep2-rx-bytes? yang:counter64
+--ro ep2-tx-pkts? yang:counter64
+--ro ep2-tx-bytes? yang:counter64
+--ro bkp-ep1-rx-pkts? yang:counter64
+--ro bkp-ep1-rx-bytes? yang:counter64
+--ro bkp-ep1-tx-pkts? yang:counter64
+--ro bkp-ep1-tx-bytes? yang:counter64
+--ro bkp-ep2-rx-pkts? yang:counter64
+--ro bkp-ep2-rx-bytes? yang:counter64
+--ro bkp-ep2-tx-pkts? yang:counter64
+--ro bkp-ep2-tx-bytes? yang:counter64
rpcs:
+---x clear-cross-connect-counters {feature-list:HAVE_VLAN_XC}?
+---w input
+---w xc-name string