Documentation
¶
Overview ¶
This module contains a collection of YANG definitions for Cisco IOS-XR pbr package operational data.
This module contains definitions for the following management objects:
pbr: PBR operational data
Copyright (c) 2013-2018 by Cisco Systems, Inc. All rights reserved.
Index ¶
- type Pbr
- type Pbr_Nodes
- type Pbr_Nodes_Node
- type Pbr_Nodes_Node_PolicyMap
- type Pbr_Nodes_Node_PolicyMap_Interfaces
- type Pbr_Nodes_Node_PolicyMap_Interfaces_Interface
- type Pbr_Nodes_Node_PolicyMap_Interfaces_Interface_Direction
- type Pbr_Nodes_Node_PolicyMap_Interfaces_Interface_Direction_Input
- type Pbr_Nodes_Node_PolicyMap_Interfaces_Interface_Direction_Input_ClassStat
- type Pbr_Nodes_Node_PolicyMap_Interfaces_Interface_Direction_Input_ClassStat_GeneralStats
- type Pbr_Nodes_Node_PolicyMap_Interfaces_Interface_Direction_Input_ClassStat_HttpEnrichStats
- type Pbr_Nodes_Node_PolicyMap_Interfaces_Interface_Direction_Input_ClassStat_HttprStats
- type PolicyState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Pbr ¶
type Pbr struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Node-specific PBR operational data. Nodes Pbr_Nodes }
Pbr PBR operational data
func (*Pbr) GetEntityData ¶
func (pbr *Pbr) GetEntityData() *types.CommonEntityData
type Pbr_Nodes ¶
type Pbr_Nodes struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // PBR operational data for a particular node. The type is slice of // Pbr_Nodes_Node. Node []*Pbr_Nodes_Node }
Pbr_Nodes Node-specific PBR operational data
func (*Pbr_Nodes) GetEntityData ¶
func (nodes *Pbr_Nodes) GetEntityData() *types.CommonEntityData
type Pbr_Nodes_Node ¶
type Pbr_Nodes_Node struct { EntityData types.CommonEntityData YFilter yfilter.YFilter YListKey string // This attribute is a key. The node. The type is string with pattern: // ([a-zA-Z0-9_]*\d+/){1,2}([a-zA-Z0-9_]*\d+). NodeName interface{} // Operational data for policymaps. PolicyMap Pbr_Nodes_Node_PolicyMap }
Pbr_Nodes_Node PBR operational data for a particular node
func (*Pbr_Nodes_Node) GetEntityData ¶
func (node *Pbr_Nodes_Node) GetEntityData() *types.CommonEntityData
type Pbr_Nodes_Node_PolicyMap ¶
type Pbr_Nodes_Node_PolicyMap struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Operational data for all interfaces. Interfaces Pbr_Nodes_Node_PolicyMap_Interfaces }
Pbr_Nodes_Node_PolicyMap Operational data for policymaps
func (*Pbr_Nodes_Node_PolicyMap) GetEntityData ¶
func (policyMap *Pbr_Nodes_Node_PolicyMap) GetEntityData() *types.CommonEntityData
type Pbr_Nodes_Node_PolicyMap_Interfaces ¶
type Pbr_Nodes_Node_PolicyMap_Interfaces struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // PBR action data for a particular interface. The type is slice of // Pbr_Nodes_Node_PolicyMap_Interfaces_Interface. Interface []*Pbr_Nodes_Node_PolicyMap_Interfaces_Interface }
Pbr_Nodes_Node_PolicyMap_Interfaces Operational data for all interfaces
func (*Pbr_Nodes_Node_PolicyMap_Interfaces) GetEntityData ¶
func (interfaces *Pbr_Nodes_Node_PolicyMap_Interfaces) GetEntityData() *types.CommonEntityData
type Pbr_Nodes_Node_PolicyMap_Interfaces_Interface ¶
type Pbr_Nodes_Node_PolicyMap_Interfaces_Interface struct { EntityData types.CommonEntityData YFilter yfilter.YFilter YListKey string // This attribute is a key. Name of the interface. The type is string with // pattern: [a-zA-Z0-9._/-]+. InterfaceName interface{} // PBR direction. Direction Pbr_Nodes_Node_PolicyMap_Interfaces_Interface_Direction }
Pbr_Nodes_Node_PolicyMap_Interfaces_Interface PBR action data for a particular interface
func (*Pbr_Nodes_Node_PolicyMap_Interfaces_Interface) GetEntityData ¶
func (self *Pbr_Nodes_Node_PolicyMap_Interfaces_Interface) GetEntityData() *types.CommonEntityData
type Pbr_Nodes_Node_PolicyMap_Interfaces_Interface_Direction ¶
type Pbr_Nodes_Node_PolicyMap_Interfaces_Interface_Direction struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // PBR policy statistics. Input Pbr_Nodes_Node_PolicyMap_Interfaces_Interface_Direction_Input }
Pbr_Nodes_Node_PolicyMap_Interfaces_Interface_Direction PBR direction
func (*Pbr_Nodes_Node_PolicyMap_Interfaces_Interface_Direction) GetEntityData ¶
func (direction *Pbr_Nodes_Node_PolicyMap_Interfaces_Interface_Direction) GetEntityData() *types.CommonEntityData
type Pbr_Nodes_Node_PolicyMap_Interfaces_Interface_Direction_Input ¶
type Pbr_Nodes_Node_PolicyMap_Interfaces_Interface_Direction_Input struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // NodeName. The type is string with length: 0..42. NodeName interface{} // PolicyName. The type is string with length: 0..65. PolicyName interface{} // State. The type is PolicyState. State interface{} // StateDescription. The type is string with length: 0..128. StateDescription interface{} // Array of classes contained in policy. The type is slice of // Pbr_Nodes_Node_PolicyMap_Interfaces_Interface_Direction_Input_ClassStat. ClassStat []*Pbr_Nodes_Node_PolicyMap_Interfaces_Interface_Direction_Input_ClassStat }
Pbr_Nodes_Node_PolicyMap_Interfaces_Interface_Direction_Input PBR policy statistics
func (*Pbr_Nodes_Node_PolicyMap_Interfaces_Interface_Direction_Input) GetEntityData ¶
func (input *Pbr_Nodes_Node_PolicyMap_Interfaces_Interface_Direction_Input) GetEntityData() *types.CommonEntityData
type Pbr_Nodes_Node_PolicyMap_Interfaces_Interface_Direction_Input_ClassStat ¶
type Pbr_Nodes_Node_PolicyMap_Interfaces_Interface_Direction_Input_ClassStat struct { EntityData types.CommonEntityData YFilter yfilter.YFilter YListKey string // Bitmask to indicate which counter or counters are undetermined. Counters // will be marked undetermined when one or more classes share queues with // class-default because in such cases the value of counters for each class is // invalid. Based on the flag(s) set, the following counters will be marked // undetermined. For example, if value of this object returned is 0x00000101, // counters TransmitPackets/TransmitBytes/TotalTransmitRate and // DropPackets/DropBytes are undetermined .0x00000001 - Transmit // (TransmitPackets/TransmitBytes/TotalTransmitRate ), 0x00000002 - Drop // (TotalDropPackets/TotalDropBytes/TotalDropRate), 0x00000004 - Httpr // (HttprTransmitPackets/HttprTransmitBytes), 0x00000020 - HttpErich // (HttpErichTransmitPackets /HttpEnrichTransmitBytes), . The type is // interface{} with range: 0..18446744073709551615. Units are byte. CounterValidityBitmask interface{} // ClassName. The type is string with length: 0..65. ClassName interface{} // ClassId. The type is interface{} with range: 0..4294967295. ClassId interface{} // general stats. GeneralStats Pbr_Nodes_Node_PolicyMap_Interfaces_Interface_Direction_Input_ClassStat_GeneralStats // HTTPR stats. HttprStats Pbr_Nodes_Node_PolicyMap_Interfaces_Interface_Direction_Input_ClassStat_HttprStats // HTTP Enrichment stats. HttpEnrichStats Pbr_Nodes_Node_PolicyMap_Interfaces_Interface_Direction_Input_ClassStat_HttpEnrichStats }
Pbr_Nodes_Node_PolicyMap_Interfaces_Interface_Direction_Input_ClassStat Array of classes contained in policy
func (*Pbr_Nodes_Node_PolicyMap_Interfaces_Interface_Direction_Input_ClassStat) GetEntityData ¶
func (classStat *Pbr_Nodes_Node_PolicyMap_Interfaces_Interface_Direction_Input_ClassStat) GetEntityData() *types.CommonEntityData
type Pbr_Nodes_Node_PolicyMap_Interfaces_Interface_Direction_Input_ClassStat_GeneralStats ¶
type Pbr_Nodes_Node_PolicyMap_Interfaces_Interface_Direction_Input_ClassStat_GeneralStats struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Transmitted packets (packets/bytes). The type is interface{} with range: // 0..18446744073709551615. Units are byte. TransmitPackets interface{} // Transmitted bytes (packets/bytes). The type is interface{} with range: // 0..18446744073709551615. Units are byte. TransmitBytes interface{} // Dropped packets (packets/bytes). The type is interface{} with range: // 0..18446744073709551615. Units are byte. TotalDropPackets interface{} // Dropped bytes (packets/bytes). The type is interface{} with range: // 0..18446744073709551615. Units are byte. TotalDropBytes interface{} // Total drop rate (packets/bytes). The type is interface{} with range: // 0..4294967295. Units are byte. TotalDropRate interface{} // Incoming matched data rate in kbps. The type is interface{} with range: // 0..4294967295. Units are kbit/s. MatchDataRate interface{} // Total transmit rate in kbps. The type is interface{} with range: // 0..4294967295. Units are kbit/s. TotalTransmitRate interface{} // Matched pkts before applying policy. The type is interface{} with range: // 0..18446744073709551615. PrePolicyMatchedPackets interface{} // Matched bytes before applying policy. The type is interface{} with range: // 0..18446744073709551615. Units are byte. PrePolicyMatchedBytes interface{} }
Pbr_Nodes_Node_PolicyMap_Interfaces_Interface_Direction_Input_ClassStat_GeneralStats general stats
func (*Pbr_Nodes_Node_PolicyMap_Interfaces_Interface_Direction_Input_ClassStat_GeneralStats) GetEntityData ¶
func (generalStats *Pbr_Nodes_Node_PolicyMap_Interfaces_Interface_Direction_Input_ClassStat_GeneralStats) GetEntityData() *types.CommonEntityData
type Pbr_Nodes_Node_PolicyMap_Interfaces_Interface_Direction_Input_ClassStat_HttpEnrichStats ¶
type Pbr_Nodes_Node_PolicyMap_Interfaces_Interface_Direction_Input_ClassStat_HttpEnrichStats struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // TotalNum of pkts HTTP request received. The type is interface{} with range: // 0..18446744073709551615. RqstRcvdPackets interface{} // TotalNum of Bytes HTTP request received. The type is interface{} with // range: 0..18446744073709551615. Units are byte. RqstRcvdBytes interface{} // Dropped packets. The type is interface{} with range: // 0..18446744073709551615. DropPackets interface{} // Dropped bytes. The type is interface{} with range: 0..18446744073709551615. // Units are byte. DropBytes interface{} // TotalNum of pkts HTTP Enrichment response sent. The type is interface{} // with range: 0..18446744073709551615. RespSentPackets interface{} // TotalNum of Bytes HTTP Enrichment response sent. The type is interface{} // with range: 0..18446744073709551615. Units are byte. RespSentBytes interface{} // TotalNum of pkts HTTP Enrichment request sent. The type is interface{} with // range: 0..18446744073709551615. ReqSentPackets interface{} // TotalNum of pkts HTTP Enrichment TCP packet sent. The type is interface{} // with range: 0..18446744073709551615. TcpSentPackets interface{} }
Pbr_Nodes_Node_PolicyMap_Interfaces_Interface_Direction_Input_ClassStat_HttpEnrichStats HTTP Enrichment stats
func (*Pbr_Nodes_Node_PolicyMap_Interfaces_Interface_Direction_Input_ClassStat_HttpEnrichStats) GetEntityData ¶
func (httpEnrichStats *Pbr_Nodes_Node_PolicyMap_Interfaces_Interface_Direction_Input_ClassStat_HttpEnrichStats) GetEntityData() *types.CommonEntityData
type Pbr_Nodes_Node_PolicyMap_Interfaces_Interface_Direction_Input_ClassStat_HttprStats ¶
type Pbr_Nodes_Node_PolicyMap_Interfaces_Interface_Direction_Input_ClassStat_HttprStats struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // TotalNum of pkts HTTP request received. The type is interface{} with range: // 0..18446744073709551615. RqstRcvdPackets interface{} // TotalNum of Bytes HTTP request received. The type is interface{} with // range: 0..18446744073709551615. Units are byte. RqstRcvdBytes interface{} // Dropped packets. The type is interface{} with range: // 0..18446744073709551615. DropPackets interface{} // Dropped bytes. The type is interface{} with range: 0..18446744073709551615. // Units are byte. DropBytes interface{} // TotalNum of pkts HTTPR response sent. The type is interface{} with range: // 0..18446744073709551615. RespSentPackets interface{} // TotalNum of Bytes HTTPR response sent. The type is interface{} with range: // 0..18446744073709551615. Units are byte. RespSentBytes interface{} }
Pbr_Nodes_Node_PolicyMap_Interfaces_Interface_Direction_Input_ClassStat_HttprStats HTTPR stats
func (*Pbr_Nodes_Node_PolicyMap_Interfaces_Interface_Direction_Input_ClassStat_HttprStats) GetEntityData ¶
func (httprStats *Pbr_Nodes_Node_PolicyMap_Interfaces_Interface_Direction_Input_ClassStat_HttprStats) GetEntityData() *types.CommonEntityData
type PolicyState ¶
type PolicyState string
PolicyState represents Different Interface states
const ( // active PolicyState_active PolicyState = "active" // suspended PolicyState_suspended PolicyState = "suspended" )