ONF Stratum for Cassini - Read Me

Note: The line port should be a reference to another node. Currently, they are both
read-only value, which has set through the initial ChassisConfig (for both "state" and
"config").
/components/component[name]/state/type
Note: will get "OPTICAL_CHANNEL" if it is an optical component
ChassisConfig extensions
A new OpticalNetworkInterface protobuf message was introduced into the ChassisConfig.
It stores the data required by the Stratum to set up and some initial optical network
interface configuration.
Here is an example of the optical network interface configuration.
optical_network_interfaces {
id: 4 # the object id of TAI
name: "card-1001"
module: 1
network_interface: 1
target_output_power: -3
line_port: "card-1001"
frequency: 195000000000
operational_mode: 2
}
OpenConfig and TAI attributes mapping through the gNMI
paths
Find the full TAI attributes' list here: https://github.com/Telecominfraproject/oopt-
tai/blob/master/inc/tainetworkif.h
terminal-optical-
channel-config attribute
gNMI path under
/comonents/component[name]/
Corresponding TAI
attribute
frequency config/frequency TX_LASER_FREQ
operational-mode config/operational-mode MODULATION_FORMAT *
target-output-power config/target-output-power OUTPUT_POWER
terminal-optical-
channel-state
attribute
gNMI path under
/comonents/component[name]/
Corresponding TAI
attribute
frequency state/frequency TX_LASER_FREQ
operational-mode state/operational-mode MODULATION_FORMAT *