Configuring NCS 1001 Using Data Models
Parameter
tx-voa-attenuation
Display Parameters of OTS Controllers
Use the Cisco-IOS-XR-controller-optics-oper.yang YANG model to display the parameters of OTS controllers.
Description
<?xml version="1.0"?>
<rpc message-id="102" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<edit-config>
<target>
<candidate/>
</target>
<config xmlns:xc="urn:ietf:params:xml:ns:netconf:base:1.0">
<interface-configurations
xmlns="http://cisco.com/ns/yang/Cisco-IOS-XR-ifmgr-cfg">
<interface-configuration>
<active>act</active>
<interface-name>Ots0/3/0/1</interface-name>
<optics
xmlns="http://cisco.com/ns/yang/Cisco-IOS-XR-controller-optics-cfg">
<optics-ots-rx-voa-attenuation>112</optics-ots-rx-voa-attenuation>
</optics>
</interface-configuration>
</interface-configurations>
</config>
</edit-config>
</rpc>
<?xml version="1.0"?>
<rpc message-id="102" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<edit-config>
<target>
<candidate/>
</target>
<config xmlns:xc="urn:ietf:params:xml:ns:netconf:base:1.0">
<interface-configurations
xmlns="http://cisco.com/ns/yang/Cisco-IOS-XR-ifmgr-cfg">
<interface-configuration>
<active>act</active>
<interface-name>Ots0/3/0/1</interface-name>
<optics
xmlns="http://cisco.com/ns/yang/Cisco-IOS-XR-controller-optics-cfg">
<optics-ots-tx-voa-attenuation>135</optics-ots-tx-voa-attenuation>
</optics>
</interface-configuration>
</interface-configurations>
</config>
</edit-config>
</rpc>
Display Parameters of OTS Controllers
Data Models Configuration Guide for Cisco NCS 1001
23