vservice_cfg

package
v0.0.0-...-fac1166 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2019 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

This module contains a collection of YANG definitions for Cisco IOS-XR vservice package configuration.

This module contains definitions for the following management objects:

vservice: configure vservice node

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 SfcMetadataAlloc

type SfcMetadataAlloc string

SfcMetadataAlloc represents Sfc metadata alloc

const (
	// type 1 allocation
	SfcMetadataAlloc_type1 SfcMetadataAlloc = "type1"
)

type SfcMetadataDispositionAction

type SfcMetadataDispositionAction string

SfcMetadataDispositionAction represents Sfc metadata disposition action

const (
	// redirect nexthop action
	SfcMetadataDispositionAction_redirect_nexthop SfcMetadataDispositionAction = "redirect-nexthop"
)

type SfcMetadataDispositionMatch

type SfcMetadataDispositionMatch string

SfcMetadataDispositionMatch represents Sfc metadata disposition match

const (
	// match type 1
	SfcMetadataDispositionMatch_type1_dcalloc_tenant_id SfcMetadataDispositionMatch = "type1-dcalloc-tenant-id"
)

type SfcMetadataType1AllocFormat

type SfcMetadataType1AllocFormat string

SfcMetadataType1AllocFormat represents Sfc metadata type1 alloc format

const (
	// data center allocation
	SfcMetadataType1AllocFormat_dc_allocation SfcMetadataType1AllocFormat = "dc-allocation"
)

type SfcSfTransport

type SfcSfTransport string

SfcSfTransport represents Sfc sf transport

const (
	// vxlan-gpe transport type
	SfcSfTransport_vxlan_gpe SfcSfTransport = "vxlan-gpe"
)

type Vservice

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

	// configure service function locator.
	ServiceFunctionLocator Vservice_ServiceFunctionLocator

	// Configure metadata disposition.
	MetadataDispositions Vservice_MetadataDispositions

	// configure service function forward locator.
	ServiceFunctionForwardLocator Vservice_ServiceFunctionForwardLocator

	// configure metadata imposition.
	MetadataTemplates Vservice_MetadataTemplates

	// service function path.
	ServiceFunctionPath Vservice_ServiceFunctionPath
}

Vservice configure vservice node

func (*Vservice) GetEntityData

func (vservice *Vservice) GetEntityData() *types.CommonEntityData

type Vservice_MetadataDispositions

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

	// metadata disposition name. The type is slice of
	// Vservice_MetadataDispositions_MetadataDisposition.
	MetadataDisposition []*Vservice_MetadataDispositions_MetadataDisposition
}

Vservice_MetadataDispositions Configure metadata disposition

func (*Vservice_MetadataDispositions) GetEntityData

func (metadataDispositions *Vservice_MetadataDispositions) GetEntityData() *types.CommonEntityData

type Vservice_MetadataDispositions_MetadataDisposition

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

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

	// This attribute is a key. Specify Format. The type is
	// SfcMetadataType1AllocFormat.
	Format interface{}

	// match entry name. The type is slice of
	// Vservice_MetadataDispositions_MetadataDisposition_MatchEntry.
	MatchEntry []*Vservice_MetadataDispositions_MetadataDisposition_MatchEntry
}

Vservice_MetadataDispositions_MetadataDisposition metadata disposition name

func (*Vservice_MetadataDispositions_MetadataDisposition) GetEntityData

func (metadataDisposition *Vservice_MetadataDispositions_MetadataDisposition) GetEntityData() *types.CommonEntityData

type Vservice_MetadataDispositions_MetadataDisposition_MatchEntry

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

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

	// configure disposition data.
	Node Vservice_MetadataDispositions_MetadataDisposition_MatchEntry_Node
}

Vservice_MetadataDispositions_MetadataDisposition_MatchEntry match entry name

func (*Vservice_MetadataDispositions_MetadataDisposition_MatchEntry) GetEntityData

type Vservice_MetadataDispositions_MetadataDisposition_MatchEntry_Node

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

	// match type. The type is SfcMetadataDispositionMatch.
	MatchType interface{}

	// action type. The type is SfcMetadataDispositionAction.
	ActionType interface{}

	// VRF name. The type is string.
	Vrf interface{}

	// IPv4 nexthop 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}]+)?.
	NexthopIpv4Address interface{}

	// 24-bit tenant id. The type is slice of interface{} with range:
	// 0..4294967295.
	TenantId []interface{}
}

Vservice_MetadataDispositions_MetadataDisposition_MatchEntry_Node configure disposition data

func (*Vservice_MetadataDispositions_MetadataDisposition_MatchEntry_Node) GetEntityData

type Vservice_MetadataTemplates

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

	// metadata name, type and format. The type is slice of
	// Vservice_MetadataTemplates_MetadataTemplate.
	MetadataTemplate []*Vservice_MetadataTemplates_MetadataTemplate
}

Vservice_MetadataTemplates configure metadata imposition

func (*Vservice_MetadataTemplates) GetEntityData

func (metadataTemplates *Vservice_MetadataTemplates) GetEntityData() *types.CommonEntityData

type Vservice_MetadataTemplates_MetadataTemplate

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

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

	// This attribute is a key. Specify Type . The type is SfcMetadataAlloc.
	Type interface{}

	// This attribute is a key. Specify Format. The type is
	// SfcMetadataType1AllocFormat.
	Format interface{}

	// Enter 24-bit tenant id. The type is interface{} with range: 1..16777215.
	TenantId interface{}
}

Vservice_MetadataTemplates_MetadataTemplate metadata name, type and format

func (*Vservice_MetadataTemplates_MetadataTemplate) GetEntityData

func (metadataTemplate *Vservice_MetadataTemplates_MetadataTemplate) GetEntityData() *types.CommonEntityData

type Vservice_ServiceFunctionForwardLocator

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

	// Mention the sf/sff name.
	Names Vservice_ServiceFunctionForwardLocator_Names
}

Vservice_ServiceFunctionForwardLocator configure service function forward locator

func (*Vservice_ServiceFunctionForwardLocator) GetEntityData

func (serviceFunctionForwardLocator *Vservice_ServiceFunctionForwardLocator) GetEntityData() *types.CommonEntityData

type Vservice_ServiceFunctionForwardLocator_Names

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

	// service function name. The type is slice of
	// Vservice_ServiceFunctionForwardLocator_Names_Name.
	Name []*Vservice_ServiceFunctionForwardLocator_Names_Name
}

Vservice_ServiceFunctionForwardLocator_Names Mention the sf/sff name

func (*Vservice_ServiceFunctionForwardLocator_Names) GetEntityData

type Vservice_ServiceFunctionForwardLocator_Names_Name

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

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

	// This attribute is a key. Specify locator id. The type is interface{} with
	// range: 1..255.
	LocatorId interface{}

	// configure sff/sffl.
	Node Vservice_ServiceFunctionForwardLocator_Names_Name_Node
}

Vservice_ServiceFunctionForwardLocator_Names_Name service function name

func (*Vservice_ServiceFunctionForwardLocator_Names_Name) GetEntityData

type Vservice_ServiceFunctionForwardLocator_Names_Name_Node

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

	// Transport type. The type is SfcSfTransport.
	Transport interface{}

	// IPv4 source 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}]+)?.
	Ipv4SourceAddress interface{}

	// IPv4 destination 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}]+)?.
	Ipv4DestinationAddress interface{}

	// VNI. The type is interface{} with range: 0..4294967295.
	Vni interface{}
}

Vservice_ServiceFunctionForwardLocator_Names_Name_Node configure sff/sffl

func (*Vservice_ServiceFunctionForwardLocator_Names_Name_Node) GetEntityData

type Vservice_ServiceFunctionLocator

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

	// Mention the sf/sff name.
	Names Vservice_ServiceFunctionLocator_Names
}

Vservice_ServiceFunctionLocator configure service function locator

func (*Vservice_ServiceFunctionLocator) GetEntityData

func (serviceFunctionLocator *Vservice_ServiceFunctionLocator) GetEntityData() *types.CommonEntityData

type Vservice_ServiceFunctionLocator_Names

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

	// service function name. The type is slice of
	// Vservice_ServiceFunctionLocator_Names_Name.
	Name []*Vservice_ServiceFunctionLocator_Names_Name
}

Vservice_ServiceFunctionLocator_Names Mention the sf/sff name

func (*Vservice_ServiceFunctionLocator_Names) GetEntityData

type Vservice_ServiceFunctionLocator_Names_Name

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

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

	// This attribute is a key. Specify locator id. The type is interface{} with
	// range: 1..255.
	LocatorId interface{}

	// configure sff/sffl.
	Node Vservice_ServiceFunctionLocator_Names_Name_Node
}

Vservice_ServiceFunctionLocator_Names_Name service function name

func (*Vservice_ServiceFunctionLocator_Names_Name) GetEntityData

type Vservice_ServiceFunctionLocator_Names_Name_Node

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

	// Transport type. The type is SfcSfTransport.
	Transport interface{}

	// IPv4 source 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}]+)?.
	Ipv4SourceAddress interface{}

	// IPv4 destination 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}]+)?.
	Ipv4DestinationAddress interface{}

	// VNI. The type is interface{} with range: 0..4294967295.
	Vni interface{}
}

Vservice_ServiceFunctionLocator_Names_Name_Node configure sff/sffl

func (*Vservice_ServiceFunctionLocator_Names_Name_Node) GetEntityData

type Vservice_ServiceFunctionPath

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

	// service function path id.
	Paths Vservice_ServiceFunctionPath_Paths
}

Vservice_ServiceFunctionPath service function path

func (*Vservice_ServiceFunctionPath) GetEntityData

func (serviceFunctionPath *Vservice_ServiceFunctionPath) GetEntityData() *types.CommonEntityData

type Vservice_ServiceFunctionPath_Paths

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

	// specify the service function path id. The type is slice of
	// Vservice_ServiceFunctionPath_Paths_Path.
	Path []*Vservice_ServiceFunctionPath_Paths_Path
}

Vservice_ServiceFunctionPath_Paths service function path id

func (*Vservice_ServiceFunctionPath_Paths) GetEntityData

type Vservice_ServiceFunctionPath_Paths_Path

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

	// This attribute is a key. Specify the service function path id. The type is
	// interface{} with range: 1..16777215.
	PathId interface{}

	// specify the service index. The type is slice of
	// Vservice_ServiceFunctionPath_Paths_Path_ServiceIndex.
	ServiceIndex []*Vservice_ServiceFunctionPath_Paths_Path_ServiceIndex
}

Vservice_ServiceFunctionPath_Paths_Path specify the service function path id

func (*Vservice_ServiceFunctionPath_Paths_Path) GetEntityData

type Vservice_ServiceFunctionPath_Paths_Path_ServiceIndex

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

	// This attribute is a key. Specify the id of service function. The type is
	// interface{} with range: 1..255.
	Index interface{}

	// configure terminate.
	Terminate Vservice_ServiceFunctionPath_Paths_Path_ServiceIndex_Terminate

	// service function forwarder .
	SffNames Vservice_ServiceFunctionPath_Paths_Path_ServiceIndex_SffNames

	// service function .
	SfNames Vservice_ServiceFunctionPath_Paths_Path_ServiceIndex_SfNames
}

Vservice_ServiceFunctionPath_Paths_Path_ServiceIndex specify the service index

func (*Vservice_ServiceFunctionPath_Paths_Path_ServiceIndex) GetEntityData

type Vservice_ServiceFunctionPath_Paths_Path_ServiceIndex_SfNames

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

	// service function name. The type is slice of
	// Vservice_ServiceFunctionPath_Paths_Path_ServiceIndex_SfNames_SfName.
	SfName []*Vservice_ServiceFunctionPath_Paths_Path_ServiceIndex_SfNames_SfName
}

Vservice_ServiceFunctionPath_Paths_Path_ServiceIndex_SfNames service function

func (*Vservice_ServiceFunctionPath_Paths_Path_ServiceIndex_SfNames) GetEntityData

type Vservice_ServiceFunctionPath_Paths_Path_ServiceIndex_SfNames_SfName

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

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

	// configure SFP.
	Node Vservice_ServiceFunctionPath_Paths_Path_ServiceIndex_SfNames_SfName_Node
}

Vservice_ServiceFunctionPath_Paths_Path_ServiceIndex_SfNames_SfName service function name

func (*Vservice_ServiceFunctionPath_Paths_Path_ServiceIndex_SfNames_SfName) GetEntityData

type Vservice_ServiceFunctionPath_Paths_Path_ServiceIndex_SfNames_SfName_Node

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

	// Enable Service function path. The type is interface{}.
	Enable interface{}

	// Dummy. The type is interface{}.
	Reserved interface{}
}

Vservice_ServiceFunctionPath_Paths_Path_ServiceIndex_SfNames_SfName_Node configure SFP

func (*Vservice_ServiceFunctionPath_Paths_Path_ServiceIndex_SfNames_SfName_Node) GetEntityData

type Vservice_ServiceFunctionPath_Paths_Path_ServiceIndex_SffNames

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

	// service function forwarder name. The type is slice of
	// Vservice_ServiceFunctionPath_Paths_Path_ServiceIndex_SffNames_SffName.
	SffName []*Vservice_ServiceFunctionPath_Paths_Path_ServiceIndex_SffNames_SffName
}

Vservice_ServiceFunctionPath_Paths_Path_ServiceIndex_SffNames service function forwarder

func (*Vservice_ServiceFunctionPath_Paths_Path_ServiceIndex_SffNames) GetEntityData

type Vservice_ServiceFunctionPath_Paths_Path_ServiceIndex_SffNames_SffName

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

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

	// configure SFP.
	Node Vservice_ServiceFunctionPath_Paths_Path_ServiceIndex_SffNames_SffName_Node
}

Vservice_ServiceFunctionPath_Paths_Path_ServiceIndex_SffNames_SffName service function forwarder name

func (*Vservice_ServiceFunctionPath_Paths_Path_ServiceIndex_SffNames_SffName) GetEntityData

type Vservice_ServiceFunctionPath_Paths_Path_ServiceIndex_SffNames_SffName_Node

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

	// Enable Service function path. The type is interface{}.
	Enable interface{}

	// Dummy. The type is interface{}.
	Reserved interface{}
}

Vservice_ServiceFunctionPath_Paths_Path_ServiceIndex_SffNames_SffName_Node configure SFP

func (*Vservice_ServiceFunctionPath_Paths_Path_ServiceIndex_SffNames_SffName_Node) GetEntityData

type Vservice_ServiceFunctionPath_Paths_Path_ServiceIndex_Terminate

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

	// configure default terminate action.
	Node Vservice_ServiceFunctionPath_Paths_Path_ServiceIndex_Terminate_Node
}

Vservice_ServiceFunctionPath_Paths_Path_ServiceIndex_Terminate configure terminate

func (*Vservice_ServiceFunctionPath_Paths_Path_ServiceIndex_Terminate) GetEntityData

type Vservice_ServiceFunctionPath_Paths_Path_ServiceIndex_Terminate_Node

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

	// default action enum. The type is SfcMetadataDispositionAction.
	Action interface{}

	// nexthop vrf name. The type is string.
	Vrf interface{}

	// IPv4 nexthop 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}]+)?.
	NexthopIpv4Address interface{}

	// metadata-disposition name. The type is string.
	MetatdataDisposition interface{}
}

Vservice_ServiceFunctionPath_Paths_Path_ServiceIndex_Terminate_Node configure default terminate action

func (*Vservice_ServiceFunctionPath_Paths_Path_ServiceIndex_Terminate_Node) GetEntityData

Jump to

Keyboard shortcuts

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