Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

MoCA object in its DML layer: 

Code Blockpanel

Device.MoCA.Interface.

Retrieve value using dmcli command

Code Block
$ dmcli eRT getv 
Device.MoCA.Interface.1.AssociatedDevice.Enable
Device.MoCA.Interface.1.Status
Device.MoCA.Interface.1.Alias
Device.MoCA.Interface.1.Name
Device.MoCA.Interface.1.LastChange


CR component name is: eRT.com.cisco.spvtg.ccsp.CR
subsystem_prefix eRT.
getv from/to component(eRT.com.cisco.spvtg.ccsp.moca): Device.MoCA.Interface.1.LowerLayers
Device.MoCA.Interface.1.Upstream
AssociatedDevice.
Execution succeed.
Parameter 1 name: Device.MoCA.Interface.1.MACAddress
Device.MoCA.Interface.AssociatedDevice.1.FirmwareVersion
MACAddress
type: string, value: 12:BF:60:2E:4F:0D
Parameter 2 name: Device.MoCA.Interface.1.MaxBitRate
Device.MoCA.Interface.1.MaxIngressBW
AssociatedDevice.1.NodeID
type: uint, value: 0
Parameter 3 name: Device.MoCA.Interface.1.MaxEgressBW
DeviceAssociatedDevice.MoCA.Interface.1.HighestVersion
1.X_CISCO_COM_RxBcastRate
type: uint, value: 630
Parameter 4 name: Device.MoCA.Interface.1.CurrentVersion
Device.MoCA.InterfaceAssociatedDevice.1.NetworkCoordinator
PreferredNC
type: bool, value: false
Parameter 5 name: Device.MoCA.Interface.1.NodeID
AssociatedDevice.1.HighestVersion
type: string, value: 20
Parameter 6 name: Device.MoCA.Interface.1.MaxNodes
Device.MoCA.Interface.1.PreferredNC
AssociatedDevice.1.PHYTxRate
type: uint, value: 658
Parameter 7 name: Device.MoCA.Interface.1.BackupNC
Device.MoCA.Interface.AssociatedDevice.1.PrivacyEnabledSetting
Device.MoCA.Interface.1.PrivacyEnabled
PHYRxRate
type: uint, value: 674
Parameter 8 name: Device.MoCA.Interface.1.FreqCapabilityMask
Device.MoCA.Interface.1.FreqCurrentMaskSetting
AssociatedDevice.1.TxPowerControlReduction
type: uint, value: 30
Parameter 9 name: Device.MoCA.Interface.1.FreqCurrentMask
Device.MoCA.Interface.1.CurrentOperFreq
AssociatedDevice.1.RxPowerLevel
type: int, value: -47
Parameter 10 name: Device.MoCA.Interface.1.LastOperFreq
Device.MoCA.Interface.1.KeyPassphrase
AssociatedDevice.1.TxBcastRate
type: uint, value: 641
Parameter 11 name: Device.MoCA.Interface.1.TxPowerLimit
Device.MoCA.Interface.AssociatedDevice.1.PowerCntlPhyTarget
Device.MoCA.Interface.1.BeaconPowerLimit
RxBcastPowerLevel
type: uint, value: 0
Parameter 12 name: Device.MoCA.Interface.1.NetworkTabooMask
Device.MoCA.Interface.1.NodeTabooMask
AssociatedDevice.1.TxPackets
type: uint, value: 5509
Parameter 13 name: Device.MoCA.Interface.1.TxBcastRate
Device.MoCA.Interface.AssociatedDevice.1.TxBcastPowerReduction
RxPackets
type: uint, value: 20680
Parameter 14 name: Device.MoCA.Interface.1.QAM256Capable
Device.MoCA.Interface.1.PacketAggregationCapability
AssociatedDevice.1.RxErroredAndMissedPackets
type: uint, value: 0
Parameter 15 name: Device.MoCA.Interface.1.X_CISCO_COM_Reset
Device.MoCA.Interface.1.X_CISCO_COM_MixedMode
AssociatedDevice.1.QAM256Capable
type: bool, value: true
Parameter 16 name: Device.MoCA.Interface.1.X_CISCO_COM_ChannelScanning
.AssociatedDevice.1.PacketAggregationCapability
type: uint, value: 1
Parameter 17 name: Device.MoCA.Interface.1.X_CISCO_COM_AutoPowerControlEnable
.AssociatedDevice.1.RxSNR
type: uint, value: 8
Parameter 18 name: Device.MoCA.Interface.1.X_CISCO_COM_EnableTabooBit
AssociatedDevice.1.Active
type: bool, value: true
Parameter 19 name: Device.MoCA.Interface.1.AssociatedDevice.1.X_CISCO_COM_CycleMaster
NumberOfClients
type: uint, value: 0
Parameter 20 name: Device.MoCA.Interface.1.AutoPowerControlPhyRate
.AssociatedDevice.2.MACAddress
type: string, value: D4:0A:A9:1B:5D:5C
Parameter 21 name: Device.MoCA.Interface.1.X_CISCO_COM_BestNetworkCoordinatorID
Device.MoCA.Interface.1.X_CISCO_NetworkCoordinatorMACAddress
AssociatedDevice.2.NodeID
type: uint, value: 2
Parameter 22 name: Device.MoCA.Interface.1.AssociatedDevice.2.X_CISCO_COM_ChannelScanMask
RxBcastRate
type: uint, value: 271
Parameter 23 name: Device.MoCA.Interface.1.X_CISCO_COM_NumberOfConnectedClients
AssociatedDevice.2.PreferredNC
type: bool, value: true
Parameter 24 name: Device.MoCA.Interface.1.LinkUpTime
AssociatedDevice.2.HighestVersion
type: string, value: 11
Parameter 25 name: Device.MoCA.Interface.1.AssociatedDeviceNumberOfEntries
DeviceAssociatedDevice.MoCA.Interface.1.X_CISCO_COM_PeerTableNumberOfEntries
2.PHYTxRate
type: uint, value: 277
Parameter 26 name: Device.MoCA.Interface.1.X_RDKCENTRAL-COM_MeshTableNumberOfEntries
.AssociatedDevice.2.PHYRxRate
type: uint, value: 272
Parameter 27 name: Device.MoCA.Interface.1.AssociatedDevice.Stats2.BytesSent
Device.MoCA.Interface.1.Stats.BytesReceived
TxPowerControlReduction
type: uint, value: 29
Parameter 28 name: Device.MoCA.Interface.1.AssociatedDevice.Stats.PacketsSent
2.RxPowerLevel
type: int, value: -53
Parameter 29 name: Device.MoCA.Interface.1.AssociatedDevice.Stats2.PacketsReceived
Device.MoCA.Interface.1.Stats.ErrorsSent
TxBcastRate
type: uint, value: 274
Parameter 30 name: Device.MoCA.Interface.1.Stats.ErrorsReceived
AssociatedDevice.2.RxBcastPowerLevel
type: uint, value: 0
Parameter 31 name: Device.MoCA.Interface.1.AssociatedDevice.Stats2.UnicastPacketsSent
Device.MoCA.Interface.1.Stats.UnicastPacketsReceived
TxPackets
type: uint, value: 4198
Parameter 32 name: Device.MoCA.Interface.1.AssociatedDevice.Stats.DiscardPacketsSent
2.RxPackets
type: uint, value: 102237
Parameter 33 name: Device.MoCA.Interface.1.StatsAssociatedDevice.DiscardPacketsReceived
Device.MoCA.Interface.1.Stats.MulticastPacketsSent
Device.MoCA.Interface.1.Stats.MulticastPacketsReceived
2.RxErroredAndMissedPackets
type: uint, value: 0
Parameter 34 name: Device.MoCA.Interface.1.Stats.BroadcastPacketsSent
AssociatedDevice.2.QAM256Capable
type: bool, value: true
Parameter 35 name: Device.MoCA.Interface.1.AssociatedDevice.Stats2.BroadcastPacketsReceived
Device.MoCA.Interface.1.Stats.UnknownProtoPacketsReceived
PacketAggregationCapability
type: uint, value: 1
Parameter 36 name: Device.MoCA.Interface.1.AssociatedDevice.Stats.Reset
2.RxSNR
type: uint, value: 8
Parameter 37 name: Device.MoCA.Interface.1.AssociatedDevice.Stats.X_CISCO_COM_ExtAggrAverageTx
Device.MoCA.Interface.1.Stats.X_CISCO_COM_ExtAggrAverageRx
2.Active
type: bool, value: true
Parameter 38 name: Device.MoCA.Interface.1.StatsAssociatedDevice.2.X_CISCO_COM_ExtCounterTableNumberOfEntries
NumberOfClients
type: uint, value: 0
Parameter 39 name: Device.MoCA.Interface.1.AssociatedDevice.Stats.X_CISCO_COM_ExtAggrCounterTableNumberOfEntries
3.MACAddress
type: string, value: 38:5F:66:16:2C:D1
Parameter 40 name: Device.MoCA.Interface.1.Stats.X_CISCO_COM_ExtAggrCounterTable.1.Tx
Device.MoCA.Interface.1.Stats.X_CISCO_COM_ExtAggrCounterTable.1.Rx
AssociatedDevice.3.NodeID
type: uint, value: 3
Parameter 41 name: Device.MoCA.Interface.1.AssociatedDevice.QoS3.X_CISCO_COM_Enabled
RxBcastRate
type: uint, value: 629
Parameter 42 name: Device.MoCA.Interface.1.AssociatedDevice.QoS3.EgressNumFlows
Device.MoCA.Interface.1.QoS.IngressNumFlows
PreferredNC
type: bool, value: false
Parameter 43 name: Device.MoCA.Interface.1.AssociatedDevice.QoS.FlowStatsNumberOfEntries
3.HighestVersion
type: string, value: 20
Parameter 44 name: Device.MoCA.Interface.1.X_CISCO_COM_PeerTable.1.PeerSpeed
DeviceAssociatedDevice.3.PHYTxRate
type: uint, value: 684
Parameter 45 name: Device.MoCA.Interface.1.X_CISCO_COM_PeerTable.2.PeerSpeed

Retrieve value using dmcli command

...

AssociatedDevice.3.PHYRxRate
type: uint, value: 674
Parameter 46 name: Device.MoCA.Interface.1.AssociatedDevice.

...

Code Block
CR component name is: eRT.com.cisco.spvtg.ccsp.CR
subsystem_prefix eRT.
getv from/to component(eRT.com.cisco.spvtg.ccsp.moca)3.TxPowerControlReduction
type: uint, value: 30
Parameter 47 name: Device.MoCA.Interface.1.AssociatedDevice.3.RxPowerLevel
Execution succeed.type: int, value: -50
Parameter 148 name: Device.MoCA.Interface.1.AssociatedDevice.13.MACAddressTxBcastRate
type: stringuint, value: 12:BF:60:2E:4F:0D641
Parameter 249 name: Device.MoCA.Interface.1.AssociatedDevice.13.NodeIDRxBcastPowerLevel
type: uint, value: 0
Parameter 350 name: Device.MoCA.Interface.1.AssociatedDevice.1.X_CISCO_COM_RxBcastRate3.TxPackets
type: uint, value: 6302081
Parameter 451 name: Device.MoCA.Interface.1.AssociatedDevice.13.PreferredNCRxPackets
type: booluint, value: false8589
Parameter 552 name: Device.MoCA.Interface.1.AssociatedDevice.13.HighestVersionRxErroredAndMissedPackets
type: stringuint, value: 200
Parameter 653 name: Device.MoCA.Interface.1.AssociatedDevice.13.PHYTxRateQAM256Capable
type: uintbool, value: 658true
Parameter 754 name: Device.MoCA.Interface.1.AssociatedDevice.13.PHYRxRatePacketAggregationCapability
type: uint, value: 6741
Parameter 855 name: Device.MoCA.Interface.1.AssociatedDevice.13.TxPowerControlReductionRxSNR
type: uint, value: 308
Parameter 956 name: Device.MoCA.Interface.1.AssociatedDevice.13.RxPowerLevelActive
type: intbool, value: -47true
Parameter 1057 name: Device.MoCA.Interface.1.AssociatedDevice.1.TxBcastRate3.X_CISCO_COM_NumberOfClients
type: uint, value: 641
Parameter 11 name: Device.MoCA.Interface.1.AssociatedDevice.1.RxBcastPowerLevel
type: uint, value: 0
Parameter 12 name: Device.MoCA.Interface.1.AssociatedDevice.1.TxPackets
type: uint, value: 5509
Parameter 13 name: Device.MoCA.Interface.1.AssociatedDevice.1.RxPackets
type: uint, value: 20680
Parameter 14 name: Device.MoCA.Interface.1.AssociatedDevice.1.RxErroredAndMissedPackets
type: uint, value: 0
Parameter 15 name: Device.MoCA.Interface.1.AssociatedDevice.1.QAM256Capable
type: bool, value: true
Parameter 16 name: Device.MoCA.Interface.1.AssociatedDevice.1.PacketAggregationCapability
type: uint, value: 1
Parameter 17 name: Device.MoCA.Interface.1.AssociatedDevice.1.RxSNR
type: uint, value: 8
Parameter 18 name: Device.MoCA.Interface.1.AssociatedDevice.1.Active
type: bool, value: true
Parameter 19 name: Device.MoCA.Interface.1.AssociatedDevice.1.X_CISCO_COM_NumberOfClients
type: uint, value: 0
Parameter 20 name: Device.MoCA.Interface.1.AssociatedDevice.2.MACAddress
type: string, value: D4:0A:A9:1B:5D:5C
Parameter 21 name: Device.MoCA.Interface.1.AssociatedDevice.2.NodeID
type: uint, value: 2
Parameter 22 name: Device.MoCA.Interface.1.AssociatedDevice.2.X_CISCO_COM_RxBcastRate
type: uint, value: 271
Parameter 23 name: Device.MoCA.Interface.1.AssociatedDevice.2.PreferredNC
type: bool, value: true
Parameter 24 name: Device.MoCA.Interface.1.AssociatedDevice.2.HighestVersion
type: string, value: 11
Parameter 25 name: Device.MoCA.Interface.1.AssociatedDevice.2.PHYTxRate
type: uint, value: 277
Parameter 26 name: Device.MoCA.Interface.1.AssociatedDevice.2.PHYRxRate
type: uint, value: 272
Parameter 27 name: Device.MoCA.Interface.1.AssociatedDevice.2.TxPowerControlReduction
type: uint, value: 29
Parameter 28 name: Device.MoCA.Interface.1.AssociatedDevice.2.RxPowerLevel
type: int, value: -53
Parameter 29 name: Device.MoCA.Interface.1.AssociatedDevice.2.TxBcastRate
type: uint, value: 274
Parameter 30 name: Device.MoCA.Interface.1.AssociatedDevice.2.RxBcastPowerLevel
type: uint, value: 0
Parameter 31 name: Device.MoCA.Interface.1.AssociatedDevice.2.TxPackets
type: uint, value: 4198
Parameter 32 name: Device.MoCA.Interface.1.AssociatedDevice.2.RxPackets
type: uint, value: 102237
Parameter 33 name: Device.MoCA.Interface.1.AssociatedDevice.2.RxErroredAndMissedPackets
type: uint, value: 0
Parameter 34 name: Device.MoCA.Interface.1.AssociatedDevice.2.QAM256Capable
type: bool, value: true
Parameter 35 name: Device.MoCA.Interface.1.AssociatedDevice.2.PacketAggregationCapability
type: uint, value: 1
Parameter 36 name: Device.MoCA.Interface.1.AssociatedDevice.2.RxSNR
type: uint, value: 8
Parameter 37 name: Device.MoCA.Interface.1.AssociatedDevice.2.Active
type: bool, value: true
Parameter 38 name: Device.MoCA.Interface.1.AssociatedDevice.2.X_CISCO_COM_NumberOfClients
type: uint, value: 0
Parameter 39 name: Device.MoCA.Interface.1.AssociatedDevice.3.MACAddress
type: string, value: 38:5F:66:16:2C:D1
Parameter 40 name: Device.MoCA.Interface.1.AssociatedDevice.3.NodeID
type: uint, value: 3
Parameter 41 name: Device.MoCA.Interface.1.AssociatedDevice.3.X_CISCO_COM_RxBcastRate
type: uint, value: 629
Parameter 42 name: Device.MoCA.Interface.1.AssociatedDevice.3.PreferredNC
type: bool, value: false
Parameter 43 name: Device.MoCA.Interface.1.AssociatedDevice.3.HighestVersion
type: string, value: 20
Parameter 44 name: Device.MoCA.Interface.1.AssociatedDevice.3.PHYTxRate
type: uint, value: 684
Parameter 45 name: Device.MoCA.Interface.1.AssociatedDevice.3.PHYRxRate
type: uint, value: 674
Parameter 46 name: Device.MoCA.Interface.1.AssociatedDevice.3.TxPowerControlReduction
type: uint, value: 30
Parameter 47 name: Device.MoCA.Interface.1.AssociatedDevice.3.RxPowerLevel
type: int, value: -50
Parameter 48 name: Device.MoCA.Interface.1.AssociatedDevice.3.TxBcastRate
type: uint, value: 641
Parameter 49 name: Device.MoCA.Interface.1.AssociatedDevice.3.RxBcastPowerLevel
type: uint, value: 0
Parameter 50 name: Device.MoCA.Interface.1.AssociatedDevice.3.TxPackets
type: uint, value: 2081
Parameter 51 name: Device.MoCA.Interface.1.AssociatedDevice.3.RxPackets
type: uint, value: 8589
Parameter 52 name: Device.MoCA.Interface.1.AssociatedDevice.3.RxErroredAndMissedPackets
type: uint, value: 0
Parameter 53 name: Device.MoCA.Interface.1.AssociatedDevice.3.QAM256Capable
type: bool, value: true
Parameter 54 name: Device.MoCA.Interface.1.AssociatedDevice.3.PacketAggregationCapability
type: uint, value: 1
Parameter 55 name: Device.MoCA.Interface.1.AssociatedDevice.3.RxSNR
type: uint, value: 8
Parameter 56 name: Device.MoCA.Interface.1.AssociatedDevice.3.Active
type: bool, value: true
Parameter 57 name: Device.MoCA.Interface.1.AssociatedDevice.3.X_CISCO_COM_NumberOfClients
type: uint, value: 0

HAL APIs

Some example APIs are listed below:

...

0

HAL APIs

Some example APIs are listed below:

APIs
moca_IfGetStatsmoca_GetNumAssociatedDevices
moca_
GetAssociatedDevices
GetIfConfig
moca_
GetResetCount
SetIfConfig
moca_
GetFlowStatistics
IfGetStaticInfo
moca_
HardwareEquipped
IfGetDynamicInfo

...

moca_

...

IfGetStats
moca_GetNumAssociatedDevices

...

moca_GetAssociatedDevices

...

moca_

...

GetResetCount
moca_

...

GetFlowStatistics
moca_HardwareEquipped

References: