ipi-erpsv2
+--rw erpsv2 {feature-list:HAVE_G8032V2}?
+--rw rings
| +--rw ring* [ring-name]
| +--rw ring-name -> ../config/ring-name
| +--rw config
| | +--rw ring-name? string
| | +--rw east-interface? -> /ipi-interface:interfaces/interface/name
| | +--rw west-interface? -> /ipi-interface:interfaces/interface/name
| | +--rw description? cml-data-types:cml_line_t
| +--ro state
| +--ro ring-name? string
| +--ro east-interface? -> /ipi-interface:interfaces/interface/name
| +--ro west-interface? -> /ipi-interface:interfaces/interface/name
| +--ro description? cml-data-types:cml_line_t
+--rw profiles
| +--rw profile* [profile-name]
| +--rw profile-name -> ../config/profile-name
| +--rw config
| | +--rw profile-name? string
| | +--rw wait-to-restore-timer? uint8
| | +--rw hold-off-timer? uint16
| | +--rw guard-time? uint16
| | +--rw protection-mode? ipi-erpsv2-types:erpsv2_protection_mode_t
| +--ro state
| +--ro profile-name? string
| +--ro wait-to-restore-timer? uint8
| +--ro hold-off-timer? uint16
| +--ro guard-time? uint16
| +--ro protection-mode? ipi-erpsv2-types:erpsv2_protection_mode_t
| +--ro wait-to-block-time? uint32
+--rw erp-instances
| +--rw erp-instance* [name]
| +--rw name -> ../config/name
| +--rw config
| | +--rw name? string
| | +--rw ring-name? -> /erpsv2/rings/ring/ring-name
| | +--rw mapped-profile-name? -> /erpsv2/profiles/profile/profile-name
| | +--rw ring-type? ipi-erpsv2-types:erpsv2_ring_type_t
| | +--rw enable-tcn-propagation? empty
| | +--rw tcn-to-instances* string
| | +--rw non-virtual-channel? empty
| | +--rw ring-id? uint8
| | +--rw description? cml-data-types:cml_line_t
| +--ro state
| | +--ro name? string
| | +--ro ring-name? -> /erpsv2/rings/ring/ring-name
| | +--ro mapped-profile-name? -> /erpsv2/profiles/profile/profile-name
| | +--ro ring-type? ipi-erpsv2-types:erpsv2_ring_type_t
| | +--ro enable-tcn-propagation? empty
| | +--ro tcn-to-instances* string
| | +--ro non-virtual-channel? empty
| | +--ro ring-id? uint8
| | +--ro description? cml-data-types:cml_line_t
| | +--ro current-state? ipi-erpsv2-types:erpsv2_ring_state_t
| | +--ro previous-state? ipi-erpsv2-types:erpsv2_ring_state_t
| +--rw instance-role
| | +--rw config
| | | +--rw (role-option)?
| | | +--:(owner)
| | | | +--rw owner-port-id? ipi-erpsv2-types:erpsv2_port_id_t
| | | +--:(neighbor)
| | | | +--rw neighbor-port-id? ipi-erpsv2-types:erpsv2_port_id_t
| | | +--:(next-neighbor)
| | | | +--rw next-neighbor-port-id? ipi-erpsv2-types:erpsv2_port_id_t
| | | +--:(non-owner)
| | | +--rw non-owner? empty
| | +--ro state
| | +--ro (role-option)?
| | +--:(owner)
| | | +--ro owner-port-id? ipi-erpsv2-types:erpsv2_port_id_t
| | +--:(neighbor)
| | | +--ro neighbor-port-id? ipi-erpsv2-types:erpsv2_port_id_t
| | +--:(next-neighbor)
| | | +--ro next-neighbor-port-id? ipi-erpsv2-types:erpsv2_port_id_t
| | +--:(non-owner)
| | +--ro non-owner? empty
| +--rw aps-channel
| | +--rw config
| | | +--rw level? uint8
| | | +--rw aps-channel-vlan? uint16
| | +--ro state
| | +--ro level? uint8
| | +--ro aps-channel-vlan? uint16
| +--rw data
| | +--rw config
| | | +--rw data-vlan? cml-data-types:cml_range_t
| | +--ro state
| | +--ro data-vlan? cml-data-types:cml_range_t
| +--rw virtual-channel
| | +--rw config!
| | | +--rw channel-id uint16
| | | +--rw attached-instance -> /erpsv2/erp-instances/erp-instance/name
| | +--ro state
| | +--ro channel-id uint16
| | +--ro attached-instance -> /erpsv2/erp-instances/erp-instance/name
| +--rw east-link
| | +--ro state
| | +--ro link-name? string
| | +--ro link-state? ipi-erpsv2-types:erpsv2_link_state_t
| | +--ro remote-node-id? cml-data-types:cml_mac_addr_t
| | +--ro remote-blocked-port-reference? uint8
| +--rw west-link
| | +--ro state
| | +--ro link-name? string
| | +--ro link-state? ipi-erpsv2-types:erpsv2_link_state_t
| | +--ro remote-node-id? cml-data-types:cml_mac_addr_t
| | +--ro remote-blocked-port-reference? uint8
| +--rw raps-statistics
| +--ro state
| +--ro tx-raps? yang:counter32
| +--ro rx-raps? yang:counter32
+--rw debug
| +--rw config
| | +--rw options? ipi-erpsv2-types:erpsv2_debug_t
| +--ro state
| +--ro options? ipi-erpsv2-types:erpsv2_debug_t
| +--ro terminal-debug-status? ipi-erpsv2-types:erpsv2_debug_t
+--rw subinterfaces
+--rw subinterface* [name] {feature-list:HAVE_SUBINTERFACE,feature-list:HAVE_G8032V2}?
+--rw name -> ../config/name
+--rw config
| +--rw name? -> /ipi-interface:interfaces/interface/name
| +--rw instance-name? ipi-erpsv2-types:erpsv2_subinterface_instance_type_t
+--ro state
+--ro name? -> /ipi-interface:interfaces/interface/name
+--ro instance-name? ipi-erpsv2-types:erpsv2_subinterface_instance_type_t
rpcs:
+---x erpsv2-switch-erp-instance {feature-list:HAVE_G8032V2,feature-list:HAVE_ONMD}?
| +---w input
| +---w instance-name string
| +---w operation ipi-erpsv2-types:erpsv2_switch_operation_t
| +---w port-id ipi-erpsv2-types:erpsv2_port_id_t
+---x erpsv2-clear-ring-erp-instance {feature-list:HAVE_G8032V2,feature-list:HAVE_ONMD}?
| +---w input
| +---w instance-name string
+---x erpsv2-clear-aps-statistics {feature-list:HAVE_G8032V2,feature-list:HAVE_ONMD}?
| +---w input
| +---w instance-name string
+---x erpsv2-terminal-debug-on {feature-list:HAVE_G8032V2}?
| +---w input
| +---w terminal-debug-options ipi-erpsv2-types:erpsv2_debug_t
+---x erpsv2-terminal-debug-off {feature-list:HAVE_G8032V2}?
+---w input
+---w terminal-debug-options ipi-erpsv2-types:erpsv2_debug_t
notifications:
+---n erpsv2-instance-state-change-notification {feature-list:HAVE_G8032V2}?
+--ro severity? cml-data-types:cml_notif_severity_t
+--ro eventClass? cml-data-types:cml_notif_class_t
+--ro name? string
+--ro current-state? ipi-erpsv2-types:erpsv2_ring_state_t
+--ro previous-state? ipi-erpsv2-types:erpsv2_ring_state_t