Augmentation for oc-platform
Version: 2018-10-16
module cisco-xe-openconfig-platform-ext { yang-version 1; namespace "http://cisco.com/ns/yang/cisco-xe-openconfig-platform-ext"; prefix oc-platform-ext; import openconfig-platform { prefix oc-platform; } import openconfig-platform-types { prefix oc-platform-types; } import openconfig-transport-types { prefix oc-opt-types; } organization "Cisco Systems"; description "Augmentation for oc-platform"; revision "2018-10-16" { description "Added the definitions for ASICs anf the Forwarding Processes modeling"; } revision "2018-02-05" { description "Add UNKNOWN for connector type"; } revision "2017-05-11" { description "Initial Draft to add type CONTAINER"; } identity CONTAINER { base oc-platform-types:OPENCONFIG_HARDWARE_COMPONENT; description "Cisco added type CONTAINER"; } identity ASICS { base oc-platform-types:OPENCONFIG_HARDWARE_COMPONENT; description "Cisco added type ASICS"; } identity FORWARDING_PROCESS { base oc-platform-types:OPENCONFIG_SOFTWARE_COMPONENT; description "Cisco added type for the forwarding processes, i.e. QFP process"; } identity UNKNOWN_CONNECTOR { base oc-opt-types:FIBER_CONNECTOR_TYPE; description "unknown type connector"; } augment /oc-platform:components/oc-platform:component { when "/oc-platform:components/oc-platform:component[oc-platform:name = current()]/oc-platform:state/oc-platform:type = 'ASICS'"; container integrated-circuit { container realized-processes { list realized-process { key "name"; config false; description "List of the processes realized or hosted by the ASICs"; leaf name { type leafref { path "../state/name"; } description "The key for the list of forwarding processes, i.e. Doppler or QFP, realized by this ASICS"; } container state { leaf name { type leafref { path "/oc-platform:components/oc-platform:component/oc-platform:state/oc-platform:name"; } description "Reference to the process realized or hosted by the ASICs"; } } // container state } // list realized-process } // container realized-processes } // container integrated-circuit } } // module cisco-xe-openconfig-platform-ext
© 2023 YumaWorks, Inc. All rights reserved.