flowspec_oper

package
v0.0.0-...-50def94 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 2, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

This module contains a collection of YANG definitions for Cisco IOS-XR flowspec package operational data.

This module contains definitions for the following management objects:

flow-spec: FlowSpec information

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 FlowSpec

type FlowSpec struct {
	EntityData types.CommonEntityData
	YFilter    yfilter.YFilter

	// Table of Client.
	Clients FlowSpec_Clients

	// FlowSpec summary.
	Summary FlowSpec_Summary

	// Table of VRF.
	Vrfs FlowSpec_Vrfs
}

FlowSpec FlowSpec information

func (*FlowSpec) GetEntityData

func (flowSpec *FlowSpec) GetEntityData() *types.CommonEntityData

type FlowSpec_Clients

type FlowSpec_Clients struct {
	EntityData types.CommonEntityData
	YFilter    yfilter.YFilter

	// FlowSpec client information. The type is slice of FlowSpec_Clients_Client.
	Client []*FlowSpec_Clients_Client
}

FlowSpec_Clients Table of Client

func (*FlowSpec_Clients) GetEntityData

func (clients *FlowSpec_Clients) GetEntityData() *types.CommonEntityData

type FlowSpec_Clients_Client

type FlowSpec_Clients_Client struct {
	EntityData types.CommonEntityData
	YFilter    yfilter.YFilter
	YListKey   string

	// FlowSpec Client Type. The type is FsClient.
	ClientType interface{}

	// FlowSpec client ID. The type is interface{} with range: 0..4294967295.
	ClientId interface{}

	// State of FS client. The type is FsMgrClientState.
	ClientState interface{}

	// Number of client flows. The type is interface{} with range: 0..4294967295.
	ClientFlows interface{}
}

FlowSpec_Clients_Client FlowSpec client information

func (*FlowSpec_Clients_Client) GetEntityData

func (client *FlowSpec_Clients_Client) GetEntityData() *types.CommonEntityData

type FlowSpec_Summary

type FlowSpec_Summary struct {
	EntityData types.CommonEntityData
	YFilter    yfilter.YFilter

	// Total VRF+AFI tables. The type is interface{} with range: 0..4294967295.
	VrfafiTables interface{}

	// Total flows. The type is interface{} with range: 0..4294967295.
	Flows interface{}
}

FlowSpec_Summary FlowSpec summary

func (*FlowSpec_Summary) GetEntityData

func (summary *FlowSpec_Summary) GetEntityData() *types.CommonEntityData

type FlowSpec_Vrfs

type FlowSpec_Vrfs struct {
	EntityData types.CommonEntityData
	YFilter    yfilter.YFilter

	// VRF information. The type is slice of FlowSpec_Vrfs_Vrf.
	Vrf []*FlowSpec_Vrfs_Vrf
}

FlowSpec_Vrfs Table of VRF

func (*FlowSpec_Vrfs) GetEntityData

func (vrfs *FlowSpec_Vrfs) GetEntityData() *types.CommonEntityData

type FlowSpec_Vrfs_Vrf

type FlowSpec_Vrfs_Vrf struct {
	EntityData types.CommonEntityData
	YFilter    yfilter.YFilter
	YListKey   string

	// This attribute is a key. VRF Name. The type is string with length: 1..32.
	VrfName interface{}

	// Table of AF.
	Afs FlowSpec_Vrfs_Vrf_Afs
}

FlowSpec_Vrfs_Vrf VRF information

func (*FlowSpec_Vrfs_Vrf) GetEntityData

func (vrf *FlowSpec_Vrfs_Vrf) GetEntityData() *types.CommonEntityData

type FlowSpec_Vrfs_Vrf_Afs

type FlowSpec_Vrfs_Vrf_Afs struct {
	EntityData types.CommonEntityData
	YFilter    yfilter.YFilter

	// AFI Type (IPv4/IPv6). The type is slice of FlowSpec_Vrfs_Vrf_Afs_Af.
	Af []*FlowSpec_Vrfs_Vrf_Afs_Af
}

FlowSpec_Vrfs_Vrf_Afs Table of AF

func (*FlowSpec_Vrfs_Vrf_Afs) GetEntityData

func (afs *FlowSpec_Vrfs_Vrf_Afs) GetEntityData() *types.CommonEntityData

type FlowSpec_Vrfs_Vrf_Afs_Af

type FlowSpec_Vrfs_Vrf_Afs_Af struct {
	EntityData types.CommonEntityData
	YFilter    yfilter.YFilter
	YListKey   string

	// This attribute is a key. Set string. The type is string with pattern:
	// [\w\-\.:,_@#%$\+=\|;]+.
	AfName interface{}

	// FlowSpec summary for VRF+AFI tables.
	TableSummary FlowSpec_Vrfs_Vrf_Afs_Af_TableSummary

	// Table of NLRI.
	Nlris FlowSpec_Vrfs_Vrf_Afs_Af_Nlris

	// Table of Flow.
	Flows FlowSpec_Vrfs_Vrf_Afs_Af_Flows
}

FlowSpec_Vrfs_Vrf_Afs_Af AFI Type (IPv4/IPv6)

func (*FlowSpec_Vrfs_Vrf_Afs_Af) GetEntityData

func (af *FlowSpec_Vrfs_Vrf_Afs_Af) GetEntityData() *types.CommonEntityData

type FlowSpec_Vrfs_Vrf_Afs_Af_Flows

type FlowSpec_Vrfs_Vrf_Afs_Af_Flows struct {
	EntityData types.CommonEntityData
	YFilter    yfilter.YFilter

	// Flow notation string. The type is slice of
	// FlowSpec_Vrfs_Vrf_Afs_Af_Flows_Flow.
	Flow []*FlowSpec_Vrfs_Vrf_Afs_Af_Flows_Flow
}

FlowSpec_Vrfs_Vrf_Afs_Af_Flows Table of Flow

func (*FlowSpec_Vrfs_Vrf_Afs_Af_Flows) GetEntityData

func (flows *FlowSpec_Vrfs_Vrf_Afs_Af_Flows) GetEntityData() *types.CommonEntityData

type FlowSpec_Vrfs_Vrf_Afs_Af_Flows_Flow

type FlowSpec_Vrfs_Vrf_Afs_Af_Flows_Flow struct {
	EntityData types.CommonEntityData
	YFilter    yfilter.YFilter
	YListKey   string

	// This attribute is a key. Enter the Flow notation string. The type is
	// string.
	FlowNotation interface{}

	// Flow statistics.
	FlowStatistics FlowSpec_Vrfs_Vrf_Afs_Af_Flows_Flow_FlowStatistics
}

FlowSpec_Vrfs_Vrf_Afs_Af_Flows_Flow Flow notation string

func (*FlowSpec_Vrfs_Vrf_Afs_Af_Flows_Flow) GetEntityData

type FlowSpec_Vrfs_Vrf_Afs_Af_Flows_Flow_FlowStatistics

type FlowSpec_Vrfs_Vrf_Afs_Af_Flows_Flow_FlowStatistics struct {
	EntityData types.CommonEntityData
	YFilter    yfilter.YFilter

	// Classified statistics.
	Classified FlowSpec_Vrfs_Vrf_Afs_Af_Flows_Flow_FlowStatistics_Classified

	// Drop statistics.
	Dropped FlowSpec_Vrfs_Vrf_Afs_Af_Flows_Flow_FlowStatistics_Dropped
}

FlowSpec_Vrfs_Vrf_Afs_Af_Flows_Flow_FlowStatistics Flow statistics

func (*FlowSpec_Vrfs_Vrf_Afs_Af_Flows_Flow_FlowStatistics) GetEntityData

type FlowSpec_Vrfs_Vrf_Afs_Af_Flows_Flow_FlowStatistics_Classified

type FlowSpec_Vrfs_Vrf_Afs_Af_Flows_Flow_FlowStatistics_Classified struct {
	EntityData types.CommonEntityData
	YFilter    yfilter.YFilter

	// Number of packets. The type is interface{} with range:
	// 0..18446744073709551615.
	Packets interface{}

	// Number of bytes. The type is interface{} with range:
	// 0..18446744073709551615. Units are byte.
	Bytes interface{}
}

FlowSpec_Vrfs_Vrf_Afs_Af_Flows_Flow_FlowStatistics_Classified Classified statistics

func (*FlowSpec_Vrfs_Vrf_Afs_Af_Flows_Flow_FlowStatistics_Classified) GetEntityData

type FlowSpec_Vrfs_Vrf_Afs_Af_Flows_Flow_FlowStatistics_Dropped

type FlowSpec_Vrfs_Vrf_Afs_Af_Flows_Flow_FlowStatistics_Dropped struct {
	EntityData types.CommonEntityData
	YFilter    yfilter.YFilter

	// Number of packets. The type is interface{} with range:
	// 0..18446744073709551615.
	Packets interface{}

	// Number of bytes. The type is interface{} with range:
	// 0..18446744073709551615. Units are byte.
	Bytes interface{}
}

FlowSpec_Vrfs_Vrf_Afs_Af_Flows_Flow_FlowStatistics_Dropped Drop statistics

func (*FlowSpec_Vrfs_Vrf_Afs_Af_Flows_Flow_FlowStatistics_Dropped) GetEntityData

type FlowSpec_Vrfs_Vrf_Afs_Af_Nlris

type FlowSpec_Vrfs_Vrf_Afs_Af_Nlris struct {
	EntityData types.CommonEntityData
	YFilter    yfilter.YFilter

	// NLRI information (hexdump). The type is slice of
	// FlowSpec_Vrfs_Vrf_Afs_Af_Nlris_Nlri.
	Nlri []*FlowSpec_Vrfs_Vrf_Afs_Af_Nlris_Nlri
}

FlowSpec_Vrfs_Vrf_Afs_Af_Nlris Table of NLRI

func (*FlowSpec_Vrfs_Vrf_Afs_Af_Nlris) GetEntityData

func (nlris *FlowSpec_Vrfs_Vrf_Afs_Af_Nlris) GetEntityData() *types.CommonEntityData

type FlowSpec_Vrfs_Vrf_Afs_Af_Nlris_Nlri

type FlowSpec_Vrfs_Vrf_Afs_Af_Nlris_Nlri struct {
	EntityData types.CommonEntityData
	YFilter    yfilter.YFilter
	YListKey   string

	// This attribute is a key. Enter NLRI hex string. The type is string with
	// pattern: [\w\-\.:,_@#%$\+=\|;]+.
	NlriBytes interface{}

	// Flow statistics.
	FlowStatistics FlowSpec_Vrfs_Vrf_Afs_Af_Nlris_Nlri_FlowStatistics
}

FlowSpec_Vrfs_Vrf_Afs_Af_Nlris_Nlri NLRI information (hexdump)

func (*FlowSpec_Vrfs_Vrf_Afs_Af_Nlris_Nlri) GetEntityData

type FlowSpec_Vrfs_Vrf_Afs_Af_Nlris_Nlri_FlowStatistics

type FlowSpec_Vrfs_Vrf_Afs_Af_Nlris_Nlri_FlowStatistics struct {
	EntityData types.CommonEntityData
	YFilter    yfilter.YFilter

	// Classified statistics.
	Classified FlowSpec_Vrfs_Vrf_Afs_Af_Nlris_Nlri_FlowStatistics_Classified

	// Drop statistics.
	Dropped FlowSpec_Vrfs_Vrf_Afs_Af_Nlris_Nlri_FlowStatistics_Dropped
}

FlowSpec_Vrfs_Vrf_Afs_Af_Nlris_Nlri_FlowStatistics Flow statistics

func (*FlowSpec_Vrfs_Vrf_Afs_Af_Nlris_Nlri_FlowStatistics) GetEntityData

type FlowSpec_Vrfs_Vrf_Afs_Af_Nlris_Nlri_FlowStatistics_Classified

type FlowSpec_Vrfs_Vrf_Afs_Af_Nlris_Nlri_FlowStatistics_Classified struct {
	EntityData types.CommonEntityData
	YFilter    yfilter.YFilter

	// Number of packets. The type is interface{} with range:
	// 0..18446744073709551615.
	Packets interface{}

	// Number of bytes. The type is interface{} with range:
	// 0..18446744073709551615. Units are byte.
	Bytes interface{}
}

FlowSpec_Vrfs_Vrf_Afs_Af_Nlris_Nlri_FlowStatistics_Classified Classified statistics

func (*FlowSpec_Vrfs_Vrf_Afs_Af_Nlris_Nlri_FlowStatistics_Classified) GetEntityData

type FlowSpec_Vrfs_Vrf_Afs_Af_Nlris_Nlri_FlowStatistics_Dropped

type FlowSpec_Vrfs_Vrf_Afs_Af_Nlris_Nlri_FlowStatistics_Dropped struct {
	EntityData types.CommonEntityData
	YFilter    yfilter.YFilter

	// Number of packets. The type is interface{} with range:
	// 0..18446744073709551615.
	Packets interface{}

	// Number of bytes. The type is interface{} with range:
	// 0..18446744073709551615. Units are byte.
	Bytes interface{}
}

FlowSpec_Vrfs_Vrf_Afs_Af_Nlris_Nlri_FlowStatistics_Dropped Drop statistics

func (*FlowSpec_Vrfs_Vrf_Afs_Af_Nlris_Nlri_FlowStatistics_Dropped) GetEntityData

type FlowSpec_Vrfs_Vrf_Afs_Af_TableSummary

type FlowSpec_Vrfs_Vrf_Afs_Af_TableSummary struct {
	EntityData types.CommonEntityData
	YFilter    yfilter.YFilter

	// Total number of flows. The type is interface{} with range: 0..4294967295.
	TotalFlows interface{}

	// Total number of attached service policies. The type is interface{} with
	// range: 0..4294967295.
	ServicePolicies interface{}

	// Local installation of flowspec rules. The type is bool.
	LocalInstallEnabled interface{}
}

FlowSpec_Vrfs_Vrf_Afs_Af_TableSummary FlowSpec summary for VRF+AFI tables

func (*FlowSpec_Vrfs_Vrf_Afs_Af_TableSummary) GetEntityData

func (tableSummary *FlowSpec_Vrfs_Vrf_Afs_Af_TableSummary) GetEntityData() *types.CommonEntityData

type FsClient

type FsClient string

FsClient represents Fs client

const (
	// FlowSpec BGP Client
	FsClient_bgp FsClient = "bgp"

	// FlowSpec OneP Client
	FsClient_one_pk FsClient = "one-pk"

	// FlowSpec Policy Client
	FsClient_policy FsClient = "policy"

	// FlowSpec HA Client
	FsClient_ha FsClient = "ha"

	// FlowSpec Test Client
	FsClient_test FsClient = "test"
)

type FsMgrClientState

type FsMgrClientState string

FsMgrClientState represents FlowSpec manager client state

const (
	// Dormant
	FsMgrClientState_dormant FsMgrClientState = "dormant"

	// Connected
	FsMgrClientState_connected FsMgrClientState = "connected"

	// Replay
	FsMgrClientState_replay FsMgrClientState = "replay"

	// Unconfigured
	FsMgrClientState_unconfigured FsMgrClientState = "unconfigured"
)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL