OcNOS SP : OpenConfig Command Reference : OpenZR+ OpenConfig Translation
OpenZR+ OpenConfig Translation
General Restrictions
Operation create
NETCONF’s operation="create" only supports objectlist elements, for example: components/component[name]or /terminal-device/logical-channels/channel[index].
Payloads with this operation on other elements have undefined behavior.
Operation merge and create
It is not possible to create or merge a single instance of an OpenConfig component for OpenZR+ (module or optical channel) without some other valid configuration as OcNOS does not accept it.
The creation or merging of the OpenConfig logical-channel instance for OpenZR+ must also be accompanied by the configuration of loopback-mode.
Laser frequency configuration in OpenZR+ media channel
It is not possible to separately configure the grid, channel and fine-tune-frequency for laser configuration in a media channel for OpenZR+ in OpenConfig. The configuration of only the total frequency value is possible.
In this way the central frequency is fixed at 193.1 THz and the grid is fixed at 100 GHz. With these values it is possible to calculate the channel and fine-tune-frequency for OcNOS.
Disable/enable OpenZR+ transceiver
This XML configuration snippet is used to disable/enable OpenZR+ transceiver.
Release
This configuration was introduced in OcNOS version 6.5.1.
Disable configuration
Here are the configuration details to disable OpenZR+ transceiver.
OpenConfig NetConf Payload
Here is a sample OpenConfig NetConf Payload to disable OpenZR+ transceiver.
<config>
<components xmlns="http://openconfig.net/yang/platform">
<component>
<name>CMIS-MODULE-50</name><config>
<name>CMIS-MODULE-50</name>
</config>
<transceiver xmlns="http://openconfig.net/yang/platform/transceiver">
<config>
<enabled>false</enabled>
</config>
</transceiver>
</component>
</components>
</config>
OcNOS CLI Command
The below CLI command is used to disable OpenZR+ transceiver.
qsfp-dd 50
service-disable
OcNOS NetConf Payload
Here is a sample OcNOS NetConf Payload to disable OpenZR+ transceiver.
<qsfp-dds xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-platform">
<qsfp-dd>
<fp-port>50</fp-port>
<config>
<fp-port>50</fp-port>
<service-disable />
</config>
</qsfp-dd>
</qsfp-dds>
Enable configuration
Here are the configuration steps to enable OpenZR+ transceiver.
OpenConfig NetConf Payload
Here is a sample OpenConfig NetConf Payload to enable OpenZR+ transceiver.
<config>
<components xmlns="http://openconfig.net/yang/platform">
<component>
<name>CMIS-MODULE-50</name><config>
<name>CMIS-MODULE-50</name>
</config>
<transceiver xmlns="http://openconfig.net/yang/platform/transceiver">
<config>
<enabled>true</enabled>
</config>
</transceiver>
</component>
</components>
</config>
OcNOS CLI Command
The below CLI command is used to enable OpenZR+ transceiver.
qsfp-dd 50
no service-disable
OcNOS NetConf Payload
Here is a sample OcNOS NetConf Payload to enable OpenZR+ transceiver.
<qsfp-dds xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-platform">
<qsfp-dd>
<fp-port>50</fp-port>
<config>
<fp-port>50</fp-port>
<service-disable operation="delete" />
</config>
</qsfp-dd>
</qsfp-dds>
Configure OpenZR+ optical channel operational mode
This XML configuration snippet is used to configure OpenZR+ optical channel operational mode.
Release
This configuration was introduced in OcNOS version 6.5.1.
OpenConfig NetConf Payload
Here is a sample OpenConfig NetConf Payload to configure OpenZR+ optical channel operational mode.
<config>
<components xmlns="http://openconfig.net/yang/platform">
<component>
<name>OCH-0/50</name>
<config>
<name>OCH-0/50</name>
</config>
<optical-channel>
<config>
<operational-mode>10</operational-mode>
</config>
</optical-channel>
</component>
</components>
</config>
OcNOS CLI Command
The below CLI is used to configure OpenZR+ optical channel operational mode.
qsfp-dd 50
application 10
OcNOS NetConf Payload
Here is a sample OcNOS NetConf Payload to configure OpenZR+ optical channel operational mode.
<qsfp-dds xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-platform">
<qsfp-dd>
<fp-port>50</fp-port>
<config>
<fp-port>50</fp-port>
<application>10</application>
</config>
</qsfp-dd>
</qsfp-dds>
Unconfiguration
Here are the commands to unconfigure OpenZR+ channel operational mode.
OpenConfig NetConf Payload
Here is a sample OpenConfig NetConf Payload to unconfigure OpenZR+ optical channel operational mode.
<config>
<components xmlns="http://openconfig.net/yang/platform">
<component>
<name>OCH-0/50</name>
<optical-channel>
<config>
<operational-mode operation="delete" />
</config>
</optical-channel>
</component>
</components>
</config>
OcNOS CLI Command
The below CLI is used to unconfigure OpenZR+ optical channel operational mode.
qsfp-dd 50
no application
OcNOS NetConf Payload
Here is a sample OcNOS NetConf Payload to unconfigure OpenZR+ optical channel operational mode.
<qsfp-dds xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-platform">
<qsfp-dd>
<fp-port>50</fp-port>
<config>
<application operation="delete" />
</config>
</qsfp-dd>
</qsfp-dds>
Configure OpenZR+ optical channel target output power
This XML configuration snippet is used to configure OpenZR+ optical channel target output power.
Release
This configuration was introduced in OcNOS version 6.5.1.
OpenConfig NetConf Payload
Here is a sample OpenConfig NetConf Payload to configure OpenZR+ optical channel target output power.
<config>
<components xmlns="http://openconfig.net/yang/platform">
<component>
<name>OCH-0/50</name>
<config>
<name>OCH-0/50</name>
</config>
<optical-channel>
<config>
<target-output-power>1.00</target-output-power>
</config>
</optical-channel>
</component>
</components>
</config>
OcNOS CLI Command
The below CLI command is used to configure OpenZR+ optical channel target output power.
qsfp-dd 50
media-lane 1
laser output-power 1.00
OcNOS NetConf Payload
Here is a sample OcNOS NetConf Payload to configure OpenZR+ optical channel target output power.
<qsfp-dds xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-platform">
<qsfp-dd>
<fp-port>50</fp-port>
<config>
<fp-port>50</fp-port>
</config>
<media>
<lanes>
<lane>
<lane-number>1</lane-number>
<laser>
<config>
<output-power>1.00</output-power>
</config>
</laser>
</lane>
</lanes>
</media>
</qsfp-dd>
</qsfp-dds>
Unconfiguration
Here are the commands to unconfigure OpenZR+ channel target output power.
OpenConfig NetConf Payload
Here is a sample OpenConfig NetConf Payload to unconfigure OpenZR+ optical channel target output power.
<config>
<components xmlns="http://openconfig.net/yang/platform">
<component>
<name>OCH-0/50</name>
<optical-channel>
<config>
<target-output-power operation="delete" />
</config>
</optical-channel>
</component>
</components>
</config>
OcNOS CLI Command
The below CLI command is used to unconfigure OpenZR+ optical channel target output power.
qsfp-dd 50
media-lane 1
no laser output-power
OcNOS NetConf Payload
Here is a sample OcNOS NetConf Payload to unconfigure OpenZR+ optical channel target output power.
<qsfp-dds xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-platform">
<qsfp-dd>
<fp-port>50</fp-port>
<media>
<lanes>
<lane>
<lane-number>1</lane-number>
<laser>
<config>
<output-power operation="delete" />
</config>
</laser>
</lane>
</lanes>
</media>
</qsfp-dd>
</qsfp-dds>
Configure OpenZR+ optical channel frequency
This XML configuration snippet is used to configure OpenZR+ optical channel frequency.
Release
This configuration was introduced in OcNOS version 6.5.1.
OpenConfig NetConf Payload
Here is a sample OpenConfig NetConf Payload to configure OpenZR+ optical channel frequency.
<config>
<components xmlns="http://openconfig.net/yang/platform">
<component>
<name>OCH-0/50</name>
<config>
<name>OCH-0/50</name>
</config>
<optical-channel>
<config>
<frequency>191300005</frequency>
</config>
</optical-channel>
</component>
</components>
</config>
OcNOS CLI Command
The below CLI command is used to configure OpenZR+ optical channel frequency.
qsfp-dd 50
media-lane 1
laser grid 100
laser channel -18
laser fine-tune-freq 0.005
OcNOS NetConf Payload
Here is a sample OcNOS NetConf Payload to configure OpenZR+ optical channel frequency.
<qsfp-dds xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-platform">
<qsfp-dd>
<fp-port>50</fp-port>
<config>
<fp-port>50</fp-port>
</config>
<media>
<lanes>
<lane>
<lane-number>1</lane-number>
<laser>
<config>
<channel>-18</channel>
<grid>100</grid>
<fine-tune-freq>0.005</fine-tune-freq>
</config>
</laser>
</lane>
</lanes>
</media>
</qsfp-dd>
</qsfp-dds>
Unconfiguration
Here are the commands to unconfigure OpenZR+ optical channel frequency.
OpenConfig NetConf Payload
Here is a sample OpenConfig NetConf Payload to unconfigure OpenZR+ optical channel frequency.
<config>
<components xmlns="http://openconfig.net/yang/platform">
<component>
<name>OCH-0/50</name>
<optical-channel>
<config>
<frequency operation="delete" />
</config>
</optical-channel>
</component>
</components>
</config>
OcNOS CLI Command
The below CLI command is used to unconfigure OpenZR+ optical channel frequency.
qsfp-dd 50
media-lane 1
no laser grid
no laser channel
no laser fine-tune-freq
OcNOS NetConf Payload
Here is a sample OcNOS NetConf Payload to unconfigure OpenZR+ optical channel frequency.
<qsfp-dds xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-platform">
<qsfp-dd>
<fp-port>50</fp-port>
<media>
<lanes>
<lane>
<lane-number>1</lane-number>
<laser>
<config>
<channel operation="delete" />
<grid operation="delete" />
<fine-tune-freq operation="delete" />
</config>
</laser>
</lane>
</lanes>
</media>
</qsfp-dd>
</qsfp-dds>
Configure OpenZR+ loopback mode
This XML configuration snippet is used to configure OpenZR+ loopback mode.
Release
This configuration was introduced in OcNOS version 6.5.1.
OpenConfig NetConf Payload
Here is a sample OpenConfig NetConf Payload to configure OpenZR+ loopback mode.
<config>
<terminal-device xmlns="http://openconfig.net/yang/terminal-device">
<logical-channels>
<channel>
<index>838861056</index>
<config>
<index>838861056</index>
<loopback-mode>TERMINAL</loopback-mode>
</config>
</channel>
</logical-channels>
</terminal-device>
</config>
OcNOS CLI Command
The below CLI command is used to configure OpenZR+ loopback mode.
qsfp-dd 50
loopback in media
OcNOS NetConf Payload
Here is a sample OcNOS NetConf Payload to configure OpenZR+ loopback mode.
<qsfp-dds xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-platform">
<qsfp-dd>
<fp-port>50</fp-port>
<config>
<fp-port>50</fp-port>
</config>
<media>
<loopback>
<config>
<type>in</type>
</config>
</loopback>
</media>
</qsfp-dd>
</qsfp-dds>
Unconfiguration
Here are the commands to unconfigure OpenZR+ loopback mode.
OpenConfig NetConf Payload
Here is a sample OpenConfig NetConf Payload to unconfigure OpenZR+ loopback mode.
<config>
<terminal-device xmlns="http://openconfig.net/yang/terminal-device">
<logical-channels>
<channel>
<index>838861056</index>
<config>
<loopback-mode operation="delete" />
</config>
</channel>
</logical-channels>
</terminal-device>
</config>
OcNOS CLI Command
The below CLI command is used to unconfigure OpenZR+ loopback mode.
qsfp-dd 50
no loopback media
OcNOS NetConf Payload
Here is a sample OcNOS NetConf Payload to unconfigure OpenZR+ loopback mode.
<qsfp-dds xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-platform">
<qsfp-dd>
<fp-port>50</fp-port>
<media>
<loopback>
<config>
<type operation="delete" />
</config>
</loopback>
</media>
</qsfp-dd>
</qsfp-dds>
Validate OpenZR+ module state
Use these commands to validate OpenZR+ module state.
Release
This configuration was introduced in OcNOS version 6.5.1.
Get OpenConfig Payload
This filter for the Get operation results in the Get OpenConfig Return output shown below.
<config>
<components xmlns="http://openconfig.net/yang/platform">
<component>
<name>CMIS-MODULE-50</name>
<state />
</component>
</components>
</config>
OcNOS CLI Command
The below CLI command is used to configure IS-IS global timers parameters.
router isis ABC
lsp-gen-interval 40
lsp-refresh-interval 1
max-lsp-lifetime 350
spf-interval-exp 0 2147483647
Get OpenConfig Return
This validation response provides information on the configuration and runtime for validating OpenZR+ module state.
<components xmlns="http://openconfig.net/yang/platform">
<component>
<name>CMIS-MODULE-50</name>
<state>
<id>CMIS-MODULE-50</id>
<name>CMIS-MODULE-50</name>
<type>oc-platform-types:TRANSCEIVER</type>
<location>50</location>
<mfg-name>SmartOptics</mfg-name>
<mfg-date>2022-03-18</mfg-date>
<description>CMIS Transceiver</description>
<hardware-version>49.48</hardware-version>
<firmware-version>61.20</firmware-version>
<software-version>NA</software-version>
<serial-no>214156344</serial-no>
<part-no>SO-TQSFPDD4CCZRP</part-no>
<removable>true</removable>
<oper-status
xmlns:oc-platform-types="http://openconfig.net/yang/platform-types">oc-platform-types:INACTIVE</oper-status>
<parent>PORT-CMIS-MODULE-50</parent>
<empty>false</empty>
<allocated-power>0</allocated-power>
<temperature>
<instant>0.0</instant>
</temperature>
</state>
</component>
</components>
Validate OpenZR+ transceiver state
Use these commands to validate OpenZR+ transceiver state.
Release
This configuration was introduced in OcNOS version 6.5.1.
Get OpenConfig Payload
This filter for the Get operation results in the Get OpenConfig Return output shown below.
<config>
<components xmlns="http://openconfig.net/yang/platform">
<component>
<name>CMIS-MODULE-50</name>
<transceiver>
<state />
</transceiver>
</component>
</components>
</config>
Get OpenConfig Return
This validation response provides information on the configuration and runtime for validating OpenZR+ transceiver state.
<components xmlns="http://openconfig.net/yang/platform">
<component>
<name>CMIS-MODULE-50</name>
<transceiver xmlns="http://openconfig.net/yang/platform/transceiver">
<state>
<form-factor
xmlns:oc-opt-types="http://openconfig.net/yang/transport-types">oc-opt-types:QSFP56_DD_TYPE1</form-factor>
<connector-type
xmlns:oc-opt-types="http://openconfig.net/yang/transport-types">oc-opt-types:LC_CONNECTOR</connector-type>
<vendor>SmartOptics</vendor>
<vendor-part>SO-TQSFPDD4CCZRP</vendor-part>
<vendor-rev>A</vendor-rev>
<serial-no>214156344</serial-no>
<date-code>220318</date-code>
<supply-voltage>
<instant>3.32</instant>
</supply-voltage>
</state>
</transceiver>
</component>
</components>
Validate OpenZR+ transceiver thresholds
Use these commands to validate OpenZR+ transceiver thresholds.
Release
This configuration was introduced in OcNOS version 6.5.1.
Severity CRITICAL
The below commands are used to validate the thresholds with critical severity.
Get OpenConfig Payload
This filter for the Get operation results in the Get OpenConfig Return output shown below.
<config>
<components xmlns="http://openconfig.net/yang/platform">
<component>
<name>CMIS-MODULE-50</name>
<transceiver>
<thresholds>
<threshold>
<severity>CRITICAL</severity>
</threshold>
</thresholds>
</transceiver>
</component>
</components>
</config>
Get OpenConfig Return
This validation response provides information on the configuration and runtime for validating OpenZR+ transceiver thresholds.
<components xmlns="http://openconfig.net/yang/platform">
<component xmlns:oc-opt-types="http://openconfig.net/yang/transport-types">
<name>CMIS-MODULE-50</name>
<transceiver xmlns="http://openconfig.net/yang/platform/transceiver">
<thresholds>
<threshold>
<severity>CRITICAL</severity>
<state>
<severity>CRITICAL</severity>
<input-power-upper>101.000000</input-power-upper>
<input-power-lower>8.000000</input-power-lower>
</state>
</threshold>
</thresholds>
</transceiver>
</component>
</components>
Severity MAJOR
The below commands are used to validate thresholds with major severity.
Get OpenConfig Payload
This filter for the Get operation results in the Get OpenConfig Return output shown below.
<config>
<components xmlns="http://openconfig.net/yang/platform">
<component>
<name>CMIS-MODULE-50</name>
<transceiver>
<thresholds>
<threshold>
<severity>MAJOR</severity>
</threshold>
</thresholds>
</transceiver>
</component>
</components>
</config>
Get OpenConfig Return
This validation response provides information on the configuration and runtime for validating the OpenZR+ transceiver thresholds with major severity.
<components xmlns="http://openconfig.net/yang/platform">
<component xmlns:oc-opt-types="http://openconfig.net/yang/transport-types">
<name>CMIS-MODULE-50</name>
<transceiver xmlns="http://openconfig.net/yang/platform/transceiver">
<thresholds>
<threshold>
<severity>MAJOR</severity>
<state>
<severity>MAJOR</severity>
<input-power-upper>96.000000</input-power-upper>
<input-power-lower>9.000000</input-power-lower>
</state>
</threshold>
</thresholds>
</transceiver>
</component>
</components>
Validate OpenZR+ transceiver physical channels
Use these commands to validate OpenZR+ transceiver physical channels.
Release
This configuration was introduced in OcNOS version 6.5.1.
Get OpenConfig Payload
This filter for the Get operation results in the Get OpenConfig Return output shown below.
<config>
<components xmlns="http://openconfig.net/yang/platform">
<component>
<name>CMIS-MODULE-50</name>
<transceiver>
<physical-channels />
</transceiver>
</component>
</components>
</config>
Get OpenConfig Return
This validation response provides information on the configuration and runtime for validating OpenZR+ transceiver channels.
<components xmlns="http://openconfig.net/yang/platform">
<component>
<name>CMIS-MODULE-50</name>
<transceiver xmlns="http://openconfig.net/yang/platform/transceiver">
<physical-channels>
<channel>
<index>1</index>
<state>
<laser-temperature>
<instant>0.0</instant>
</laser-temperature>
<index>1</index>
<laser-age>0</laser-age>
</state>
</channel>
</physical-channels>
</transceiver>
</component>
</components>
Validate OpenZR+ transceiver optical channel state
Use these commands to validate OpenZR+ transceiver optical channel state.
Release
This configuration was introduced in OcNOS version 6.5.1.
Get OpenConfig Payload
This filter for the Get operation results in the Get OpenConfig Return output shown below.
<config>
<components xmlns="http://openconfig.net/yang/platform">
<component>
<name>OCH-0/50</name>
<optical-channel>
<state />
</optical-channel>
</component>
</components>
</config>
Get OpenConfig Return
This validation response provides information on the configuration and runtime for validating OpenZR+ transceiver optical channel state.
<components xmlns="http://openconfig.net/yang/platform">
<component>
<name>OCH-0/50</name>
<optical-channel>
<state>
<input-power>
<instant>100.00</instant>
</input-power>
<output-power>
<instant>100.00</instant>
</output-power>
<laser-bias-current>
<instant>0.00</instant>
</laser-bias-current>
<pre-fec-ber>
<min>0.00</min>
<max>0.00</max>
<avg>0.00</avg>
<instant>0.00</instant>
</pre-fec-ber>
<post-fec-ber>
<min>0.00</min>
<max>0.00</max>
<avg>0.00</avg>
<instant>0.00</instant>
</post-fec-ber>
<modulator-bias-xi>
<instant>0.00</instant>
</modulator-bias-xi>
<modulator-bias-xq>
<instant>0.00</instant>
</modulator-bias-xq>
<modulator-bias-yi>
<instant>0.00</instant>
</modulator-bias-yi>
<modulator-bias-yq>
<instant>0.00</instant>
</modulator-bias-yq>
<modulator-bias-x-phase>
<instant>0.00</instant>
</modulator-bias-x-phase>
<modulator-bias-y-phase>
<instant>0.00</instant>
</modulator-bias-y-phase>
<chromatic-dispersion>
<max>0.00</max>
<min>0.00</min>
</chromatic-dispersion>
<polarization-mode-dispersion>
<instant>0.00</instant>
<avg>0.00</avg>
<min>0.00</min>
<max>0.00</max>
</polarization-mode-dispersion>
<second-order-polarization-mode-dispersion>
<instant>0.00</instant>
</second-order-polarization-mode-dispersion>
<polarization-dependent-loss>
<instant>0.00</instant>
<avg>0.00</avg>
<min>0.00</min>
<max>0.00</max>
</polarization-dependent-loss>
<osnr>
<instant>0.00</instant>
<avg>0.00</avg>
<min>0.00</min>
<max>0.00</max>
</osnr>
<esnr>
<instant>0.00</instant>
<avg>0.00</avg>
<min>0.00</min>
<max>0.00</max>
</esnr>
<carrier-frequency-offset>
<instant>0.00</instant>
<avg>0.00</avg>
<min>0.00</min>
<max>0.00</max>
</carrier-frequency-offset>
<sop-roc>
<instant>0.00</instant>
<avg>0.00</avg>
<min>0.00</min>
<max>0.00</max>
</sop-roc>
<fec-uncorrectable-blocks>
<instant>0</instant>
</fec-uncorrectable-blocks>
<frequency>193100000</frequency>
<target-output-power>0.00</target-output-power>
</state>
</optical-channel>
</component>
</components>
Validate OpenZR+ logical channels
Use these commands to validate OpenZR+ logical channels.
Release
This configuration was introduced in OcNOS version 6.5.1.
Optical channel assignment type
The index value in the Openconfig datamodel is shown in ASCII bytes format.
Transforming the index value to the hexadecimal, it is in the format 0xFFSSMMHH, where:
FF means the fp-port (in hexadecimal format);
SS means the slot-index, fixed to 0 in case of CMIS modules (in hexadecimal format);
MM means the optical channel media lane (in hexadecimal format);
HH means the host lane to which the datapath is assigned (in hexadecimal format).
For example, to calculate the index for an optical channel assignment type:
fp-port 50 (0x32 in hexadecimal);
slot-index 0 (0x00 in hexadecimal);
optical channel media lane 1 (0x01 in hexadecimal);
host lane 0 (0x00 in hexadecimal).
Index in hexadecimal: 0x32000100
Transforming it to the ASCII bytes format: 838861056
Get OpenConfig Payload
This filter for the Get operation results in the Get OpenConfig Return output shown below.
<config>
<terminal-device xmlns="http://openconfig.net/yang/terminal-device">
<logical-channels>
<channel>
<index>838861056</index>
</channel>
</logical-channels>
</terminal-device>
</config>
Get OpenConfig Return
This validation response provides information on the configuration and runtime for validating OpenZR+ logical channels.
<terminal-device xmlns="http://openconfig.net/yang/terminal-device">
<logical-channels>
<channel>
<index>838861056</index>
<logical-channel-assignments>
<assignment>
<index>1</index>
<state>
<assignment-type>OPTICAL_CHANNEL</assignment-type>
<optical-channel>OCH-0/50</optical-channel>
<index>1</index>
<allocation>400.000</allocation>
</state>
</assignment>
</logical-channel-assignments>
<config>
<logical-channel-type
xmlns:oc-opt-types="http://openconfig.net/yang/transport-types">oc-opt-types:PROT_OTN</logical-channel-type>
</config>
<state>
<logical-channel-type
xmlns:oc-opt-types="http://openconfig.net/yang/transport-types">oc-opt-types:PROT_OTN</logical-channel-type>
</state>
</channel>
</logical-channels>
</terminal-device>
Logical channel assignment type
The index value in the Openconfig datamodel is shown in ASCII bytes format.
Transforming the index value to the hexadecimal, it is in the format 0xFFSSMMHH, where:
FF means the fp-port (in hexadecimal format);
SS means the slot-index, fixed to 0 in case of CMIS modules (in hexadecimal format);
MM means the optical channel media lane (in hexadecimal format);
HH means the host lane to which the datapath is assigned (in hexadecimal format).
For example, to calculate the index for an logical channel assignment type:
fp-port 50 (0x32 in hexadecimal);
slot-index 0 (0x00 in hexadecimal);
optical channel media lane 0 (0x00 in hexadecimal);
host lane 1 (0x01 in hexadecimal).
Index in hexadecimal: 0x32000001
Transforming it to the ASCII bytes format: 838860801
Get OpenConfig Payload
This filter for the Get operation results in the Get OpenConfig Return output shown below.
<config>
<terminal-device xmlns="http://openconfig.net/yang/terminal-device">
<logical-channels>
<channel>
<index>838860801</index>
</channel>
</logical-channels>
</terminal-device>
</config>
Get OpenConfig Return
This validation response provides information on the configuration and runtime for validating OpenZR+ logical channels.
<terminal-device xmlns="http://openconfig.net/yang/terminal-device">
<logical-channels>
<channel>
<index>838860801</index>
<logical-channel-assignments>
<assignment>
<index>1</index>
<state>
<assignment-type>LOGICAL_CHANNEL</assignment-type>
<logical-channel>838861056</logical-channel>
<index>1</index>
<allocation>400.000</allocation>
</state>
</assignment>
</logical-channel-assignments>
<config>
<logical-channel-type
xmlns:oc-opt-types="http://openconfig.net/yang/transport-types">oc-opt-types:PROT_ETHERNET</logical-channel-type>
</config>
<state>
<logical-channel-type
xmlns:oc-opt-types="http://openconfig.net/yang/transport-types">oc-opt-types:PROT_ETHERNET</logical-channel-type>
</state>
<ingress>
<state>
<interface>cd50</interface>
</state>
</ingress>
<ethernet>
<state>
<pre-fec-ber>
<min>0.0</min>
<max>0.0</max>
<avg>0.0</avg>
<instant>0.0</instant>
</pre-fec-ber>
<post-fec-ber>
<min>0.0</min>
<max>0.0</max>
<avg>0.0</avg>
<instant>0.0</instant>
</post-fec-ber>
<out-8021q-frames>0</out-8021q-frames>
<fec-uncorrectable-blocks>0</fec-uncorrectable-blocks>
</state>
</ethernet>
<state>
<index>838860801</index>
</state>
</channel>
</logical-channels>
</terminal-device>
Configure OpenZR+ port-breakout
Use the commands to configure OpenZR+ port-breakout.
Release
This configuration was introduced in OcNOS version 6.5.1.
OpenConfig NetConf Payload
Here is a sample OpenConfig NetConf Payload to configure OpenZR+ port-breakout.
<config>
<components xmlns="http://openconfig.net/yang/platform">
<component>
<name>PORT-CMIS-MODULE-50</name>
<port>
<breakout-mode xmlns="http://openconfig.net/yang/platform/port">
<groups>
<group>
<index>0</index>
<config>
<index>0</index>
<num-breakouts>1</num-breakouts>
<breakout-speed xmlns="http://openconfig.net/yang/interfaces/ethernet">SPEED_100GB</breakout-speed>
<num-physical-channels>4</num-physical-channels>
</config>
</group>
</groups>
</breakout-mode>
</port>
<config>
<name>PORT-CMIS-MODULE-50</name>
</config>
</component>
</components>
</config>
OcNOS CLI Command
The below CLI command is used to configure OpenZR+ port-breakout.
port cd50 breakout 1X100g serdes 25g
OcNOS NetConf Payload
Here is a sample OcNOS NetConf Payload to configure OpenZR+ port-breakout.
<port-breakout xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-port-breakout">
<breakouts>
<breakout>
<interface>cd50</interface>
<config>
<interface>cd50</interface>
<mode>1X100g</mode>
<serdes>25g</serdes>
</config>
</breakout>
</breakouts>
</port-breakout>
Unconfiguration
Use these commands to unconfigure OpenZR+ port-breakout.
OpenConfig NetConf Payload
Here is a sample OpenConfig NetConf Payload to unconfigure OpenZR+ port-breakout.
<config>
<components xmlns="http://openconfig.net/yang/platform">
<component>
<name>PORT-CMIS-MODULE-50</name>
<port>
<breakout-mode xmlns="http://openconfig.net/yang/platform/port">
<groups>
<group operation="delete">
<index>0</index>
<config>
<index>0</index>
<num-breakouts>1</num-breakouts>
<breakout-speed xmlns="http://openconfig.net/yang/interfaces/ethernet">SPEED_100GB</breakout-speed>
<num-physical-channels>4</num-physical-channels>
</config>
</group>
</groups>
</breakout-mode>
</port>
<config>
<name>PORT-CMIS-MODULE-50</name>
</config>
</component>
</components>
</config>
OcNOS CLI Command
The below CLI command is used to unconfigure OpenZR+ port-breakout.
no port cd50 breakout
OcNOS NetConf Payload
Here is a sample OcNOS NetConf Payload to unconfigure OpenZR+ port-breakout.
<port-breakout xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-port-breakout">
<breakouts>
<breakout operation="delete">
<interface>cd50</interface>
</breakout>
</breakouts>
</port-breakout>
Validate OpenZR+ port-breakout
Use these commands to validate OpenZR+ port-breakout.
Release
This configuration was introduced in OcNOS version 6.5.1.
Get OpenConfig Payload
This filter for the Get operation results in the Get OpenConfig Return output shown below.
<config>
<components xmlns="http://openconfig.net/yang/platform">
<component>
<name>CMIS-MODULE-50</name>
<port>
<breakout-mode>
<groups>
<group>
<index>0</index>
<state />
</group>
</groups>
</breakout-mode>
</port>
</component>
</components>
</config>
Get OpenConfig Return
This validation response provides information on the configuration and runtime for validating OpenZR+ port-breakout.
<config>
<components xmlns="http://openconfig.net/yang/platform">
<component>
<name>PORT-CMIS-MODULE-50</name>
<port>
<breakout-mode xmlns="http://openconfig.net/yang/platform/port">
<groups>
<group>
<index>0</index>
<state>
<index>0</index>
<num-breakouts>1</num-breakouts>
<breakout-speed xmlns="http://openconfig.net/yang/interfaces/ethernet">SPEED_100GB</breakout-speed>
<num-physical-channels>4</num-physical-channels>
</state>
</group>
</groups>
</breakout-mode>
</port>
</component>
</components>
</config>