Documentation
¶
Overview ¶
This module contains a collection of YANG definitions for NAT operational data. Copyright (c) 2017-2018 by Cisco Systems, Inc. All rights reserved.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NatData ¶
type NatData struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Global NAT statistics. IpNatStatistics NatData_IpNatStatistics // IP NAT translations. The type is slice of NatData_IpNatTranslation. IpNatTranslation []*NatData_IpNatTranslation }
NatData NAT statistics
func (*NatData) GetEntityData ¶
func (natData *NatData) GetEntityData() *types.CommonEntityData
type NatData_IpNatStatistics ¶
type NatData_IpNatStatistics struct { EntityData types.CommonEntityData YFilter yfilter.YFilter YPresence bool // Indicates if the NAT feature has been initialized. The type is bool. Initialized interface{} // Total translations. The type is interface{} with range: // 0..18446744073709551615. Entries interface{} // Total static translations. The type is interface{} with range: // 0..18446744073709551615. Statics interface{} // Sorted static translations by domain. The type is slice of interface{} with // range: 0..18446744073709551615. StaticsSorted []interface{} // Total flows. The type is interface{} with range: 0..18446744073709551615. Flows interface{} // Number of inside interfaces. The type is interface{} with range: // 0..18446744073709551615. Insides interface{} // Number of outside interfaces. The type is interface{} with range: // 0..18446744073709551615. Outsides interface{} // Number of entries which timed out . The type is interface{} with range: // 0..18446744073709551615. EntryTimeouts interface{} // Successful searches with matching NAT session. The type is interface{} with // range: 0..18446744073709551615. Hits interface{} // Unsuccessful searches without matching NAT session. The type is interface{} // with range: 0..18446744073709551615. Misses interface{} // Translated in interrupt switching. The type is interface{} with range: // 0..18446744073709551615. InterruptSwitched interface{} // Packets punted to process. The type is interface{} with range: // 0..18446744073709551615. PacketsPunted interface{} // Counter for saved fragment packets. The type is interface{} with range: // 0..18446744073709551615. FragPakCount interface{} // Dropped pool stats from platform. The type is interface{} with range: // 0..18446744073709551615. PoolStatsDrop interface{} // Dropped mapping stats from platform. The type is interface{} with range: // 0..18446744073709551615. MappingStatsDrop interface{} // Counter for port block alloc req fails. The type is interface{} with range: // 0..18446744073709551615. PortlistReqFail interface{} // Counter for add ipalias fails drops. The type is interface{} with range: // 0..18446744073709551615. IpaliasAddFail interface{} // Counter for add limit_entry fails drops. The type is interface{} with // range: 0..18446744073709551615. LimitEntryAddFail interface{} // Counter for NAT inside->outside drops. The type is interface{} with range: // 0..18446744073709551615. In2outDrops interface{} // Counter for NAT outside->inside drops. The type is interface{} with range: // 0..18446744073709551615. Out2inDrops interface{} // MIB counter for address binds. The type is interface{} with range: // 0..4294967295. MibAddrBinds interface{} // MIB counter for address port binds. The type is interface{} with range: // 0..4294967295. MibAddportBinds interface{} }
NatData_IpNatStatistics Global NAT statistics This type is a presence type.
func (*NatData_IpNatStatistics) GetEntityData ¶
func (ipNatStatistics *NatData_IpNatStatistics) GetEntityData() *types.CommonEntityData
type NatData_IpNatTranslation ¶
type NatData_IpNatTranslation struct { EntityData types.CommonEntityData YFilter yfilter.YFilter YListKey string // This attribute is a key. Inside local address. The type is string with // pattern: // (([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])(%[\p{N}\p{L}]+)?. InsideLocalAddr interface{} // This attribute is a key. Outside local address. The type is string with // pattern: // (([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])(%[\p{N}\p{L}]+)?. OutsideLocalAddr interface{} // This attribute is a key. Inside local port. The type is interface{} with // range: 0..65535. InsideLocalPort interface{} // This attribute is a key. Outside local port. The type is interface{} with // range: 0..65535. OutsideLocalPort interface{} // This attribute is a key. VRF ID. The type is interface{} with range: // 0..65535. Vrfid interface{} // This attribute is a key. Protocol. The type is interface{} with range: // 0..255. Protocol interface{} // Inside global address. The type is string with pattern: // (([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])(%[\p{N}\p{L}]+)?. InsideGlobalAddr interface{} // Outside global address. The type is string with pattern: // (([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])(%[\p{N}\p{L}]+)?. OutsideGlobalAddr interface{} // Inside global port. The type is interface{} with range: 0..65535. InsideGlobalPort interface{} // Outside global port. The type is interface{} with range: 0..65535. OutsideGlobalPort interface{} // Translation flags. The type is interface{} with range: 0..4294967295. Flags interface{} // Application type. The type is interface{} with range: 0..255. ApplicationType interface{} // Virtual Routing and Forwarding name. The type is string. VrfName interface{} }
NatData_IpNatTranslation IP NAT translations
func (*NatData_IpNatTranslation) GetEntityData ¶
func (ipNatTranslation *NatData_IpNatTranslation) GetEntityData() *types.CommonEntityData
Click to show internal directories.
Click to hide internal directories.