Documentation ¶
Overview ¶
This module contains a collection of YANG definitions for Cisco IOS-XR bundlemgr package configuration.
This module contains definitions for the following management objects:
lacp: Link Aggregation Control Protocol commands
This YANG module augments the
Cisco-IOS-XR-ifmgr-cfg, Cisco-IOS-XR-rgmgr-cfg,
modules with configuration data.
Copyright (c) 2013-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 BundleCiscoExtTypes ¶
type BundleCiscoExtTypes string
BundleCiscoExtTypes represents Bundle cisco ext types
const ( // LON signaling disabled BundleCiscoExtTypes_lon_signaling_off BundleCiscoExtTypes = "lon-signaling-off" // LON signaling enabled BundleCiscoExtTypes_lon_signaling_on BundleCiscoExtTypes = "lon-signaling-on" )
type BundleLoadBalance ¶
type BundleLoadBalance string
BundleLoadBalance represents Bundle load balance
const ( // Default hash function used BundleLoadBalance_default_ BundleLoadBalance = "default" // Send all traffic for this EFP over an // automatically selected member BundleLoadBalance_efp_auto BundleLoadBalance = "efp-auto" // Send all traffic for this EFP over the member // corresponding to the specified hash function BundleLoadBalance_efp_value BundleLoadBalance = "efp-value" // Load balance according to source IP address BundleLoadBalance_source_ip BundleLoadBalance = "source-ip" // Load balance according to detination IP address BundleLoadBalance_destination_ip BundleLoadBalance = "destination-ip" )
type BundleMaximumActiveLinksMode ¶
type BundleMaximumActiveLinksMode string
BundleMaximumActiveLinksMode represents Bundle maximum active links mode
const ( // Default BundleMaximumActiveLinksMode_default_ BundleMaximumActiveLinksMode = "default" // Hot standby BundleMaximumActiveLinksMode_hot_standby BundleMaximumActiveLinksMode = "hot-standby" )
type BundleMinimumBandwidthRange ¶
type BundleMinimumBandwidthRange string
BundleMinimumBandwidthRange represents Bundle minimum bandwidth range
const ( // None BundleMinimumBandwidthRange_none BundleMinimumBandwidthRange = "none" // kbps BundleMinimumBandwidthRange_kbps BundleMinimumBandwidthRange = "kbps" // mbps BundleMinimumBandwidthRange_mbps BundleMinimumBandwidthRange = "mbps" // gbps BundleMinimumBandwidthRange_gbps BundleMinimumBandwidthRange = "gbps" )
type BundleMode ¶
type BundleMode string
BundleMode represents Bundle mode
const ( // On BundleMode_on BundleMode = "on" // Active BundleMode_active BundleMode = "active" // Passive BundleMode_passive BundleMode = "passive" )
type BundlePeriod ¶
type BundlePeriod string
BundlePeriod represents Bundle period
const ( // Use the standard LACP short period (1s) BundlePeriod_true_ BundlePeriod = "true" )
type BundlePortActivity ¶
type BundlePortActivity string
BundlePortActivity represents Bundle port activity
const ( // On BundlePortActivity_on BundlePortActivity = "on" // Active BundlePortActivity_active BundlePortActivity = "active" // Passive BundlePortActivity_passive BundlePortActivity = "passive" // Inherit BundlePortActivity_inherit BundlePortActivity = "inherit" )
type ChurnLogging ¶
type ChurnLogging string
ChurnLogging represents Churn logging
const ( // Logging for actor churn only ChurnLogging_actor ChurnLogging = "actor" // Logging for partner churn only ChurnLogging_partner ChurnLogging = "partner" // Logging for actor and partner churn ChurnLogging_both ChurnLogging = "both" )
type Lacp ¶
type Lacp struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Unique identifier for this system. The type is string with pattern: // [0-9a-fA-F]{2}(:[0-9a-fA-F]{2}){5}. SystemMac interface{} // Priority for this system. Lower value is higher priority. The type is // interface{} with range: 1..65535. The default value is 32768. SystemPriority interface{} }
Lacp Link Aggregation Control Protocol commands
func (*Lacp) GetEntityData ¶
func (lacp *Lacp) GetEntityData() *types.CommonEntityData
type MlacpMaximizeParameter ¶
type MlacpMaximizeParameter string
MlacpMaximizeParameter represents Mlacp maximize parameter
const ( // Maximize the number of operational links MlacpMaximizeParameter_links MlacpMaximizeParameter = "links" // Maximize the operational bandwidth MlacpMaximizeParameter_bandwidth MlacpMaximizeParameter = "bandwidth" )
type MlacpSwitchover ¶
type MlacpSwitchover string
MlacpSwitchover represents Mlacp switchover
const ( // Brute force shutdown MlacpSwitchover_brute_force MlacpSwitchover = "brute-force" // Revertive behavior MlacpSwitchover_revertive MlacpSwitchover = "revertive" )
type PeriodShortEnum ¶
type PeriodShortEnum string
PeriodShortEnum represents Period short enum
const ( // Use the standard LACP short period (1s) PeriodShortEnum_true_ PeriodShortEnum = "true" )