# Interfaces

# URL

frinx-openconfig-interfaces:interfaces

# OPENCONFIG YANG

YANG models

{
    "interfaces": {
        "interface": [
            {
                "name": "<interface_name>",
                "state": {
                    "rpd-channel": [
                        {
                            "id": "<rpd_channel_id>",
                            "rpd-name": "<rpd_name>",
                            "rpd-interfaces": "<rpd_interfaces>",
                            "rpd-dir": "<rpd_dir>"
                        }
                    ],
                    "rpd-channel-status": [
                        {
                            "id": "<rpd_channel_status_id>",
                            "rpd-name": "<rpd_name>",
                            "channel-selection": "<channel_selection>",
                            "rpd-dir": "<rpd_dir>",
                            "core-pw-id": "<core_pw_id>",
                            "rpd_interfaces": "<rpd_interfaces>",
                            "channel-state": "<channel_state>",
                            "depi-channel-id": "<depi_channel_id>"
                        }
                    ]
                    "frinx-cer-rphy-if-extension:cable-mac-state": {
                        "state": {
                            "ofdm": <ofdm>,    // true or false
                            "ofdm-ds-item": [
                                {
                                    "id": "<ofdm_ds_id>",
                                    "lic-bw": "<lic_bw>",
                                    "oper-state": "<oper_state>",
                                    "prim-cap": "<prim_cap>",
                                    "plc-band": "<plc_band>",
                                    "chan-id": "<chan_id>",
                                    "rolloff-period": "<rolloff_period>",
                                    "num-of-prof": "<num_of_prof>",
                                    "subcarrier-spacing": "<subcarrier_spacing>",
                                    "cyclic-prefix": "<cyclic_prefix>",
                                    "cable-mac": "<cable_mac>",
                                    "freq-low-high": "<freq_low_high>",
                                    "intrlv-depth": "<interlv_depth>"
                                }
                            ],
                            "ofdm-us-item": [
                                {
                                    "id": "<ofdm_us_id>",
                                    "lic-bw": "<lic_bw>",
                                    "minislots-per-frame": "<minislots_per_frame>",
                                    "mod-prof": "<mod_prof>",
                                    "oper-state": "<oper_state>",
                                    "sym-frame": "<sym_frame>",
                                    "conn": "<conn>",
                                    "rolloff-period": "<rolloff_period>",
                                    "subcarrier-spacing": "<subcarrier_spacing>",
                                    "cyclic-prefix": "<cyclic_prefix>",
                                    "cable-mac": "<cable_mac>",
                                    "freq-low-high": "<freq_low_high>",
                                    "power": "<power>"
                                }
                            ],
                            "cable-ds-item": [
                                {
                                    "id": "<cable_ds_id>",
                                    "chan-id": "<chan_id>",
                                    "mod-type": "<mod_type>",
                                    "annex": "<annex>",
                                    "oper-state": "<oper_state>",
                                    "prim-cap": "<prim_cap>",
                                    "cable-mac": "<cable_mac>",
                                    "interlv-depth": "<intelv_depth>",
                                    "frequency": "<frequency>",
                                    "power": "<power>",
                                    "lbal-group": "<lbal_group>"
                                }
                            ],
                            "cable-us-item": [
                                {
                                    "id": "<cable_us_id>",
                                    "mod-prof": "<mod_prof>",
                                    "mini-slot": "<mini_slot>",
                                    "oper-state": "<oper_state>",
                                    "conn": "<conn>",
                                    "chan-type": "<chan_type>",
                                    "cable-mac": "<cable_mac>",
                                    "freq-low-high": "<freq_low_high>",
                                    "channel-width": "<channel_width>",
                                    "power": "<power>",
                                    "lbal-group": "<lbal_group>",
                                    "center-freq": "<center_freq>"
                                }
                            ]
                        }
                    }
                }
            }
        ]
    }
}

# OS Configuration Commands

# CER Arris devices

# CLI


CER# show interface rpd <interface_name> channel
Core Clock State:
RPD (Name::DS/US)    Dir        Interfaces
-------------------- ---------- ----------------------------------------------------------------------------------------
<rpd_name>           <rpd_dir>  <rpd_interfaces>


CER# show interface rpd <interface_name> channel status
Core Clock State: 
                                         RPD's                                 DEPI    
RPD Name    Dir        Interface         Chan State       Chan Sel             ChanID              Core PW ID
----------- ---------- ----------------- ---------------- -------------------- ------------------- ---------------------
<rpd_name>  <rpd_dir>  <rpd_interfaces>  <channel_state>  <channel_selection>   <depi_channel_id>   <core_pw_id>
                                                           
               Total       IS      OOS
---------------------------------------
Found


CER# show interface <interface_name> 

Cable-mac <cable_mac>
=============
Inbound  
Outbound 
Inband   

OFDM: <ofdm>
DS           Cable       Chan      Prim       Oper         Freq Low-High   PLC Band   LicBW     Num of         Subcarrier            Rolloff           Cyclic          Intrlv
S/C/CH       Mac         ID        Cap        State         (MHz.KHz)        (MHz)    (MHz)      Prof          Spacing(KHz)          Period            Prefix          Depth(time)
<ofdm_ds_id> <cable_mac> <chan_id> <prim_cap> <oper_state>  <freq_low_high> <plc_band> <lic_bw>  <num_of_prof>  <subcarrier_spacing>  <rolloff_period> <cyclic_prefix> <interlv_depth>

US           Cable               Oper        Freq Low-High    LicBW    Minislots             Mod        Subcarrier           Rolloff          Cyclic          Sym/        Power(dBmV/  
S/CG/CH      Mac          Conn   State        (MHz.KHz)      (100KHz)  per frame             Prof       Spacing(KHz)         Period           Prefix          Frame       1.6 MHz)  
<ofdm_us_id> <cable_mac>  <conn> <oper_state> <freq_low_high> <lic_bw> <minislots_per_frame> <mod_prof> <subcarrier_spacing> <rolloff_period> <cyclic_prefix> <sym_frame> <power>

CABLE:
DS            Cable       Chan      Prim       Oper                             Intrlv          Mod        Power     LBal
S/C/CH        Mac         ID        Cap        State        Annex    Freq(Hz)   Depth           Type       (.1dBmV)  Group
<cable_ds_id> <cable_mac> <chan_id> <prim_cap> <oper_state> <annex> <frequency> <interlv_depth> <mod_type> <power>  <lbal_group>

US             Cable             Oper         Chan       Freq Low-High    Center        Channel          Mini       Mod        Pwr(dBmV/   LBal 
S/CG/CH        Mac        Conn   State        Type        (MHz.KHz)       Freq(MHz)       Width          Slot       Prof        1.6 MHz)   Group
<cable_us_id> <cable_mac> <conn> <oper_state> <chan_type> <freq_low_high> <center_freq> <channel_width> <mini_slot> <mod_prof>  <power>   <lbal_group>

# Unit

Link to GitHub : cer-unit