crypto_macsec_mka_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 crypto-macsec-mka package configuration.

This module contains definitions for the following management objects:

macsec: MACSec MKA

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 Macsec

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

	// Disable macsec on all data ports(system wide), has no impact on macsec
	// configs. The type is interface{}.
	Shutdown interface{}

	// MACSec Policy.
	PolicyNames Macsec_PolicyNames
}

Macsec MACSec MKA

func (*Macsec) GetEntityData

func (macsec *Macsec) GetEntityData() *types.CommonEntityData

type MacsecMkaCipherSuite

type MacsecMkaCipherSuite string

MacsecMkaCipherSuite represents Macsec mka cipher suite

const (
	// GCM AES 128
	MacsecMkaCipherSuite_gcm_aes_128 MacsecMkaCipherSuite = "gcm-aes-128"

	// GCM AES 256
	MacsecMkaCipherSuite_gcm_aes_256 MacsecMkaCipherSuite = "gcm-aes-256"

	// GCM AES XPN 128
	MacsecMkaCipherSuite_gcm_aes_xpn_128 MacsecMkaCipherSuite = "gcm-aes-xpn-128"

	// GCM AES XPN 256
	MacsecMkaCipherSuite_gcm_aes_xpn_256 MacsecMkaCipherSuite = "gcm-aes-xpn-256"
)

type MacsecMkaConfOffset

type MacsecMkaConfOffset string

MacsecMkaConfOffset represents Macsec mka conf offset

const (
	// CONF OFFSET 0
	MacsecMkaConfOffset_conf_off_set_0 MacsecMkaConfOffset = "conf-off-set-0"

	// CONF OFFSET 30
	MacsecMkaConfOffset_conf_off_set_30 MacsecMkaConfOffset = "conf-off-set-30"

	// CONF OFFSET 50
	MacsecMkaConfOffset_conf_off_set_50 MacsecMkaConfOffset = "conf-off-set-50"
)

type MacsecMkaPolicyException

type MacsecMkaPolicyException string

MacsecMkaPolicyException represents Macsec mka policy exception

const (
	// lacp in clear
	MacsecMkaPolicyException_lacp_in_clear MacsecMkaPolicyException = "lacp-in-clear"
)

type MacsecMkaSecurityPolicy

type MacsecMkaSecurityPolicy string

MacsecMkaSecurityPolicy represents Macsec mka security policy

const (
	// should secure
	MacsecMkaSecurityPolicy_should_secure MacsecMkaSecurityPolicy = "should-secure"

	// must secure
	MacsecMkaSecurityPolicy_must_secure MacsecMkaSecurityPolicy = "must-secure"
)

type Macsec_PolicyNames

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

	// MACsec Policy Name. The type is slice of Macsec_PolicyNames_PolicyName.
	PolicyName []*Macsec_PolicyNames_PolicyName
}

Macsec_PolicyNames MACSec Policy

func (*Macsec_PolicyNames) GetEntityData

func (policyNames *Macsec_PolicyNames) GetEntityData() *types.CommonEntityData

type Macsec_PolicyNames_PolicyName

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

	// This attribute is a key. Name of the Policy of maximum length 16. The type
	// is string with length: 1..16.
	Name interface{}

	// Enables data delay protection. The type is interface{}.
	DelayProtection interface{}

	// Security-Policy of Policy. The type is MacsecMkaSecurityPolicy.
	SecurityPolicy interface{}

	// Key-Server-Priority of Policy. The type is interface{} with range: 0..255.
	KeyServerPriority interface{}

	// Conf-Offset of Policy. The type is MacsecMkaConfOffset.
	ConfOffset interface{}

	// DEPRECATED-Interval(in minutes) after which key-server generates new SAK
	// for a Secured Session, Default: OFF, recommended to use seconds option. The
	// type is interface{} with range: 1..43200. Units are minute.
	SakRekeyInterval interface{}

	// Macsec policy exception for packets to be in clear. The type is
	// MacsecMkaPolicyException.
	PolicyException interface{}

	// Window-Size of Policy. The type is interface{} with range: 0..1024.
	WindowSize interface{}

	// Cipher-suite of Policy. The type is MacsecMkaCipherSuite.
	CipherSuite interface{}

	// Enables Include ICV Indicator paramset in MKPDU. The type is interface{}.
	IncludeIcvIndicator interface{}

	// Interval(in seconds) after which key-server generates new SAK for a Secured
	// Session, Default: OFF. The type is interface{} with range: 60..2592000.
	// Units are second.
	SakRekeyIntervalSec interface{}

	// VLAN-Tags-In-Clear of Policy. The type is interface{} with range: 1..2.
	VlanTagsInClear interface{}
}

Macsec_PolicyNames_PolicyName MACsec Policy Name

func (*Macsec_PolicyNames_PolicyName) GetEntityData

func (policyName *Macsec_PolicyNames_PolicyName) GetEntityData() *types.CommonEntityData

Jump to

Keyboard shortcuts

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