keychain

package
v0.1.11 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package keychain is a generated package which contains definitions of structs which generate gNMI paths for a YANG schema. The generated paths are based on a compressed form of the schema.

This package was generated by ygnmi version: v0.7.6: (ygot: v0.27.0) using the following YANG input files:

  • gnmi-collector-metadata.yang
  • gnsi/authz/gnsi-authz.yang
  • gnsi/cert/gnsi-cert.yang
  • gnsi/console/gnsi-console.yang
  • gnsi/pathz/gnsi-pathz.yang
  • gnsi/ssh/gnsi-ssh.yang
  • public/release/models/acl/openconfig-acl.yang
  • public/release/models/acl/openconfig-packet-match.yang
  • public/release/models/aft/openconfig-aft.yang
  • public/release/models/aft/openconfig-aft-network-instance.yang
  • public/release/models/ate/openconfig-ate-flow.yang
  • public/release/models/ate/openconfig-ate-intf.yang
  • public/release/models/bfd/openconfig-bfd.yang
  • public/release/models/bgp/openconfig-bgp-policy.yang
  • public/release/models/bgp/openconfig-bgp-types.yang
  • public/release/models/interfaces/openconfig-if-aggregate.yang
  • public/release/models/interfaces/openconfig-if-ethernet.yang
  • public/release/models/interfaces/openconfig-if-ethernet-ext.yang
  • public/release/models/interfaces/openconfig-if-ip-ext.yang
  • public/release/models/interfaces/openconfig-if-ip.yang
  • public/release/models/interfaces/openconfig-if-sdn-ext.yang
  • public/release/models/interfaces/openconfig-interfaces.yang
  • public/release/models/isis/openconfig-isis.yang
  • public/release/models/lacp/openconfig-lacp.yang
  • public/release/models/lldp/openconfig-lldp-types.yang
  • public/release/models/lldp/openconfig-lldp.yang
  • public/release/models/local-routing/openconfig-local-routing.yang
  • public/release/models/mpls/openconfig-mpls-types.yang
  • public/release/models/multicast/openconfig-pim.yang
  • public/release/models/network-instance/openconfig-network-instance.yang
  • public/release/models/openconfig-extensions.yang
  • public/release/models/optical-transport/openconfig-terminal-device.yang
  • public/release/models/optical-transport/openconfig-transport-types.yang
  • public/release/models/ospf/openconfig-ospfv2.yang
  • public/release/models/p4rt/openconfig-p4rt.yang
  • public/release/models/platform/openconfig-platform-cpu.yang
  • public/release/models/platform/openconfig-platform-ext.yang
  • public/release/models/platform/openconfig-platform-fan.yang
  • public/release/models/platform/openconfig-platform-integrated-circuit.yang
  • public/release/models/platform/openconfig-platform-pipeline-counters.yang
  • public/release/models/platform/openconfig-platform-software.yang
  • public/release/models/platform/openconfig-platform-transceiver.yang
  • public/release/models/platform/openconfig-platform.yang
  • public/release/models/policy-forwarding/openconfig-policy-forwarding.yang
  • public/release/models/policy/openconfig-policy-types.yang
  • public/release/models/qos/openconfig-qos-elements.yang
  • public/release/models/qos/openconfig-qos-interfaces.yang
  • public/release/models/qos/openconfig-qos-types.yang
  • public/release/models/qos/openconfig-qos.yang
  • public/release/models/rib/openconfig-rib-bgp.yang
  • public/release/models/sampling/openconfig-sampling-sflow.yang
  • public/release/models/segment-routing/openconfig-segment-routing-types.yang
  • public/release/models/system/openconfig-system.yang
  • public/release/models/types/openconfig-inet-types.yang
  • public/release/models/types/openconfig-types.yang
  • public/release/models/types/openconfig-yang-types.yang
  • public/release/models/vlan/openconfig-vlan.yang
  • public/third_party/ietf/iana-if-type.yang
  • public/third_party/ietf/ietf-inet-types.yang
  • public/third_party/ietf/ietf-interfaces.yang
  • public/third_party/ietf/ietf-yang-types.yang

Imported modules were sourced from:

  • public/release/models/...
  • public/third_party/ietf/...

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KeychainPath

type KeychainPath struct {
	*ygnmi.NodePath
}

KeychainPath represents the /openconfig-keychain/keychains/keychain YANG schema element.

func (*KeychainPath) Config

func (n *KeychainPath) Config() ygnmi.ConfigQuery[*oc.Keychain]

Config returns a Query that can be used in gNMI operations.

func (*KeychainPath) Key

Key (list): List of configured keys for the keychain.

Defining module:      "openconfig-keychain"
Instantiating module: "openconfig-keychain"
Path from parent:     "keys/key"
Path from root:       "/keychains/keychain/keys/key"

KeyId: [oc.UnionString, oc.UnionUint64]

func (*KeychainPath) KeyAny

func (n *KeychainPath) KeyAny() *Keychain_KeyPathAny

KeyAny (list): List of configured keys for the keychain.

Defining module:      "openconfig-keychain"
Instantiating module: "openconfig-keychain"
Path from parent:     "keys/key"
Path from root:       "/keychains/keychain/keys/key"

func (*KeychainPath) Name

func (n *KeychainPath) Name() *Keychain_NamePath

Name (leaf): Keychain name.

Defining module:      "openconfig-keychain"
Instantiating module: "openconfig-keychain"
Path from parent:     "*/name"
Path from root:       "/keychains/keychain/*/name"

func (*KeychainPath) State

State returns a Query that can be used in gNMI operations.

func (*KeychainPath) Tolerance

func (n *KeychainPath) Tolerance() *Keychain_TolerancePath

Tolerance (leaf): Tolerance (overlap time) that a receive key should be accepted. May be expressed as range in seconds, or using the FOREVER value to indicate that the key does not expire. The default value should be 0, i.e., no tolerance.

Defining module:      "openconfig-keychain"
Instantiating module: "openconfig-keychain"
Path from parent:     "*/tolerance"
Path from root:       "/keychains/keychain/*/tolerance"

type KeychainPathAny

type KeychainPathAny struct {
	*ygnmi.NodePath
}

KeychainPathAny represents the wildcard version of the /openconfig-keychain/keychains/keychain YANG schema element.

func (*KeychainPathAny) Config

Config returns a Query that can be used in gNMI operations.

func (*KeychainPathAny) Key

Key (list): List of configured keys for the keychain.

Defining module:      "openconfig-keychain"
Instantiating module: "openconfig-keychain"
Path from parent:     "keys/key"
Path from root:       "/keychains/keychain/keys/key"

KeyId: [oc.UnionString, oc.UnionUint64]

func (*KeychainPathAny) KeyAny

func (n *KeychainPathAny) KeyAny() *Keychain_KeyPathAny

KeyAny (list): List of configured keys for the keychain.

Defining module:      "openconfig-keychain"
Instantiating module: "openconfig-keychain"
Path from parent:     "keys/key"
Path from root:       "/keychains/keychain/keys/key"

func (*KeychainPathAny) Name

Name (leaf): Keychain name.

Defining module:      "openconfig-keychain"
Instantiating module: "openconfig-keychain"
Path from parent:     "*/name"
Path from root:       "/keychains/keychain/*/name"

func (*KeychainPathAny) State

State returns a Query that can be used in gNMI operations.

func (*KeychainPathAny) Tolerance

Tolerance (leaf): Tolerance (overlap time) that a receive key should be accepted. May be expressed as range in seconds, or using the FOREVER value to indicate that the key does not expire. The default value should be 0, i.e., no tolerance.

Defining module:      "openconfig-keychain"
Instantiating module: "openconfig-keychain"
Path from parent:     "*/tolerance"
Path from root:       "/keychains/keychain/*/tolerance"

type Keychain_KeyPath

type Keychain_KeyPath struct {
	*ygnmi.NodePath
}

Keychain_KeyPath represents the /openconfig-keychain/keychains/keychain/keys/key YANG schema element.

func (*Keychain_KeyPath) Config

Config returns a Query that can be used in gNMI operations.

func (*Keychain_KeyPath) CryptoAlgorithm

func (n *Keychain_KeyPath) CryptoAlgorithm() *Keychain_Key_CryptoAlgorithmPath

CryptoAlgorithm (leaf): Cryptographic algorithm associated with the key. Note that not all cryptographic algorithms are available in all contexts (e.g., across different protocols).

Defining module:      "openconfig-keychain"
Instantiating module: "openconfig-keychain"
Path from parent:     "*/crypto-algorithm"
Path from root:       "/keychains/keychain/keys/key/*/crypto-algorithm"

func (*Keychain_KeyPath) KeyId

KeyId (leaf): Identifier for the key within the keychain.

Defining module:      "openconfig-keychain"
Instantiating module: "openconfig-keychain"
Path from parent:     "*/key-id"
Path from root:       "/keychains/keychain/keys/key/*/key-id"

func (*Keychain_KeyPath) ReceiveLifetime

func (n *Keychain_KeyPath) ReceiveLifetime() *Keychain_Key_ReceiveLifetimePath

ReceiveLifetime (container): Specify the validity lifetime of the key in the receive direction. Some platforms may only support symmetric send and receive lifetimes, in which case the receive-lifetime is typically not specified.

Defining module:      "openconfig-keychain"
Instantiating module: "openconfig-keychain"
Path from parent:     "receive-lifetime"
Path from root:       "/keychains/keychain/keys/key/receive-lifetime"

func (*Keychain_KeyPath) SecretKey

SecretKey (leaf): Authentication key supplied as an encrypted value. The system should store and return the key in encrypted form.

Defining module:      "openconfig-keychain"
Instantiating module: "openconfig-keychain"
Path from parent:     "*/secret-key"
Path from root:       "/keychains/keychain/keys/key/*/secret-key"

func (*Keychain_KeyPath) SendLifetime

SendLifetime (container): Specifies the lifetime of the key for sending authentication information to the peer.

Defining module:      "openconfig-keychain"
Instantiating module: "openconfig-keychain"
Path from parent:     "send-lifetime"
Path from root:       "/keychains/keychain/keys/key/send-lifetime"

func (*Keychain_KeyPath) State

State returns a Query that can be used in gNMI operations.

type Keychain_KeyPathAny

type Keychain_KeyPathAny struct {
	*ygnmi.NodePath
}

Keychain_KeyPathAny represents the wildcard version of the /openconfig-keychain/keychains/keychain/keys/key YANG schema element.

func (*Keychain_KeyPathAny) Config

Config returns a Query that can be used in gNMI operations.

func (*Keychain_KeyPathAny) CryptoAlgorithm

CryptoAlgorithm (leaf): Cryptographic algorithm associated with the key. Note that not all cryptographic algorithms are available in all contexts (e.g., across different protocols).

Defining module:      "openconfig-keychain"
Instantiating module: "openconfig-keychain"
Path from parent:     "*/crypto-algorithm"
Path from root:       "/keychains/keychain/keys/key/*/crypto-algorithm"

func (*Keychain_KeyPathAny) KeyId

KeyId (leaf): Identifier for the key within the keychain.

Defining module:      "openconfig-keychain"
Instantiating module: "openconfig-keychain"
Path from parent:     "*/key-id"
Path from root:       "/keychains/keychain/keys/key/*/key-id"

func (*Keychain_KeyPathAny) ReceiveLifetime

ReceiveLifetime (container): Specify the validity lifetime of the key in the receive direction. Some platforms may only support symmetric send and receive lifetimes, in which case the receive-lifetime is typically not specified.

Defining module:      "openconfig-keychain"
Instantiating module: "openconfig-keychain"
Path from parent:     "receive-lifetime"
Path from root:       "/keychains/keychain/keys/key/receive-lifetime"

func (*Keychain_KeyPathAny) SecretKey

SecretKey (leaf): Authentication key supplied as an encrypted value. The system should store and return the key in encrypted form.

Defining module:      "openconfig-keychain"
Instantiating module: "openconfig-keychain"
Path from parent:     "*/secret-key"
Path from root:       "/keychains/keychain/keys/key/*/secret-key"

func (*Keychain_KeyPathAny) SendLifetime

SendLifetime (container): Specifies the lifetime of the key for sending authentication information to the peer.

Defining module:      "openconfig-keychain"
Instantiating module: "openconfig-keychain"
Path from parent:     "send-lifetime"
Path from root:       "/keychains/keychain/keys/key/send-lifetime"

func (*Keychain_KeyPathAny) State

State returns a Query that can be used in gNMI operations.

type Keychain_Key_CryptoAlgorithmPath

type Keychain_Key_CryptoAlgorithmPath struct {
	*ygnmi.NodePath
	// contains filtered or unexported fields
}

Keychain_Key_CryptoAlgorithmPath represents the /openconfig-keychain/keychains/keychain/keys/key/state/crypto-algorithm YANG schema element.

func (*Keychain_Key_CryptoAlgorithmPath) Config

Config returns a Query that can be used in gNMI operations.

Defining module:      "openconfig-keychain"
Instantiating module: "openconfig-keychain"
Path from parent:     "config/crypto-algorithm"
Path from root:       "/keychains/keychain/keys/key/config/crypto-algorithm"

func (*Keychain_Key_CryptoAlgorithmPath) State

State returns a Query that can be used in gNMI operations.

Defining module:      "openconfig-keychain"
Instantiating module: "openconfig-keychain"
Path from parent:     "state/crypto-algorithm"
Path from root:       "/keychains/keychain/keys/key/state/crypto-algorithm"

type Keychain_Key_CryptoAlgorithmPathAny

type Keychain_Key_CryptoAlgorithmPathAny struct {
	*ygnmi.NodePath
	// contains filtered or unexported fields
}

Keychain_Key_CryptoAlgorithmPathAny represents the wildcard version of the /openconfig-keychain/keychains/keychain/keys/key/state/crypto-algorithm YANG schema element.

func (*Keychain_Key_CryptoAlgorithmPathAny) Config

Config returns a Query that can be used in gNMI operations.

Defining module:      "openconfig-keychain"
Instantiating module: "openconfig-keychain"
Path from parent:     "config/crypto-algorithm"
Path from root:       "/keychains/keychain/keys/key/config/crypto-algorithm"

func (*Keychain_Key_CryptoAlgorithmPathAny) State

State returns a Query that can be used in gNMI operations.

Defining module:      "openconfig-keychain"
Instantiating module: "openconfig-keychain"
Path from parent:     "state/crypto-algorithm"
Path from root:       "/keychains/keychain/keys/key/state/crypto-algorithm"

type Keychain_Key_KeyIdPath

type Keychain_Key_KeyIdPath struct {
	*ygnmi.NodePath
	// contains filtered or unexported fields
}

Keychain_Key_KeyIdPath represents the /openconfig-keychain/keychains/keychain/keys/key/state/key-id YANG schema element.

func (*Keychain_Key_KeyIdPath) Config

Config returns a Query that can be used in gNMI operations.

Defining module:      "openconfig-keychain"
Instantiating module: "openconfig-keychain"
Path from parent:     "config/key-id"
Path from root:       "/keychains/keychain/keys/key/config/key-id"

func (*Keychain_Key_KeyIdPath) State

State returns a Query that can be used in gNMI operations.

Defining module:      "openconfig-keychain"
Instantiating module: "openconfig-keychain"
Path from parent:     "state/key-id"
Path from root:       "/keychains/keychain/keys/key/state/key-id"

type Keychain_Key_KeyIdPathAny

type Keychain_Key_KeyIdPathAny struct {
	*ygnmi.NodePath
	// contains filtered or unexported fields
}

Keychain_Key_KeyIdPathAny represents the wildcard version of the /openconfig-keychain/keychains/keychain/keys/key/state/key-id YANG schema element.

func (*Keychain_Key_KeyIdPathAny) Config

Config returns a Query that can be used in gNMI operations.

Defining module:      "openconfig-keychain"
Instantiating module: "openconfig-keychain"
Path from parent:     "config/key-id"
Path from root:       "/keychains/keychain/keys/key/config/key-id"

func (*Keychain_Key_KeyIdPathAny) State

State returns a Query that can be used in gNMI operations.

Defining module:      "openconfig-keychain"
Instantiating module: "openconfig-keychain"
Path from parent:     "state/key-id"
Path from root:       "/keychains/keychain/keys/key/state/key-id"

type Keychain_Key_ReceiveLifetimePath

type Keychain_Key_ReceiveLifetimePath struct {
	*ygnmi.NodePath
}

Keychain_Key_ReceiveLifetimePath represents the /openconfig-keychain/keychains/keychain/keys/key/receive-lifetime YANG schema element.

func (*Keychain_Key_ReceiveLifetimePath) Config

Config returns a Query that can be used in gNMI operations.

func (*Keychain_Key_ReceiveLifetimePath) EndTime

EndTime (leaf): The time at which the key becomes invalid for use. The value is the timestamp in nanoseconds relative to the Unix Epoch (Jan 1, 1970 00:00:00 UTC).

Leaving this value unset, or setting it to 0, indicates that the key remains valid forever (no end time).

Defining module:      "openconfig-keychain"
Instantiating module: "openconfig-keychain"
Path from parent:     "*/end-time"
Path from root:       "/keychains/keychain/keys/key/receive-lifetime/*/end-time"

func (*Keychain_Key_ReceiveLifetimePath) StartTime

StartTime (leaf): The time at which the key becomes valid for use. The value is the timestamp in nanoseconds relative to the Unix Epoch (Jan 1, 1970 00:00:00 UTC).

Defining module:      "openconfig-keychain"
Instantiating module: "openconfig-keychain"
Path from parent:     "*/start-time"
Path from root:       "/keychains/keychain/keys/key/receive-lifetime/*/start-time"

func (*Keychain_Key_ReceiveLifetimePath) State

State returns a Query that can be used in gNMI operations.

type Keychain_Key_ReceiveLifetimePathAny

type Keychain_Key_ReceiveLifetimePathAny struct {
	*ygnmi.NodePath
}

Keychain_Key_ReceiveLifetimePathAny represents the wildcard version of the /openconfig-keychain/keychains/keychain/keys/key/receive-lifetime YANG schema element.

func (*Keychain_Key_ReceiveLifetimePathAny) Config

Config returns a Query that can be used in gNMI operations.

func (*Keychain_Key_ReceiveLifetimePathAny) EndTime

EndTime (leaf): The time at which the key becomes invalid for use. The value is the timestamp in nanoseconds relative to the Unix Epoch (Jan 1, 1970 00:00:00 UTC).

Leaving this value unset, or setting it to 0, indicates that the key remains valid forever (no end time).

Defining module:      "openconfig-keychain"
Instantiating module: "openconfig-keychain"
Path from parent:     "*/end-time"
Path from root:       "/keychains/keychain/keys/key/receive-lifetime/*/end-time"

func (*Keychain_Key_ReceiveLifetimePathAny) StartTime

StartTime (leaf): The time at which the key becomes valid for use. The value is the timestamp in nanoseconds relative to the Unix Epoch (Jan 1, 1970 00:00:00 UTC).

Defining module:      "openconfig-keychain"
Instantiating module: "openconfig-keychain"
Path from parent:     "*/start-time"
Path from root:       "/keychains/keychain/keys/key/receive-lifetime/*/start-time"

func (*Keychain_Key_ReceiveLifetimePathAny) State

State returns a Query that can be used in gNMI operations.

type Keychain_Key_ReceiveLifetime_EndTimePath

type Keychain_Key_ReceiveLifetime_EndTimePath struct {
	*ygnmi.NodePath
	// contains filtered or unexported fields
}

Keychain_Key_ReceiveLifetime_EndTimePath represents the /openconfig-keychain/keychains/keychain/keys/key/receive-lifetime/state/end-time YANG schema element.

func (*Keychain_Key_ReceiveLifetime_EndTimePath) Config

Config returns a Query that can be used in gNMI operations.

Defining module:      "openconfig-keychain"
Instantiating module: "openconfig-keychain"
Path from parent:     "config/end-time"
Path from root:       "/keychains/keychain/keys/key/receive-lifetime/config/end-time"

func (*Keychain_Key_ReceiveLifetime_EndTimePath) State

State returns a Query that can be used in gNMI operations.

Defining module:      "openconfig-keychain"
Instantiating module: "openconfig-keychain"
Path from parent:     "state/end-time"
Path from root:       "/keychains/keychain/keys/key/receive-lifetime/state/end-time"

type Keychain_Key_ReceiveLifetime_EndTimePathAny

type Keychain_Key_ReceiveLifetime_EndTimePathAny struct {
	*ygnmi.NodePath
	// contains filtered or unexported fields
}

Keychain_Key_ReceiveLifetime_EndTimePathAny represents the wildcard version of the /openconfig-keychain/keychains/keychain/keys/key/receive-lifetime/state/end-time YANG schema element.

func (*Keychain_Key_ReceiveLifetime_EndTimePathAny) Config

Config returns a Query that can be used in gNMI operations.

Defining module:      "openconfig-keychain"
Instantiating module: "openconfig-keychain"
Path from parent:     "config/end-time"
Path from root:       "/keychains/keychain/keys/key/receive-lifetime/config/end-time"

func (*Keychain_Key_ReceiveLifetime_EndTimePathAny) State

State returns a Query that can be used in gNMI operations.

Defining module:      "openconfig-keychain"
Instantiating module: "openconfig-keychain"
Path from parent:     "state/end-time"
Path from root:       "/keychains/keychain/keys/key/receive-lifetime/state/end-time"

type Keychain_Key_ReceiveLifetime_StartTimePath

type Keychain_Key_ReceiveLifetime_StartTimePath struct {
	*ygnmi.NodePath
	// contains filtered or unexported fields
}

Keychain_Key_ReceiveLifetime_StartTimePath represents the /openconfig-keychain/keychains/keychain/keys/key/receive-lifetime/state/start-time YANG schema element.

func (*Keychain_Key_ReceiveLifetime_StartTimePath) Config

Config returns a Query that can be used in gNMI operations.

Defining module:      "openconfig-keychain"
Instantiating module: "openconfig-keychain"
Path from parent:     "config/start-time"
Path from root:       "/keychains/keychain/keys/key/receive-lifetime/config/start-time"

func (*Keychain_Key_ReceiveLifetime_StartTimePath) State

State returns a Query that can be used in gNMI operations.

Defining module:      "openconfig-keychain"
Instantiating module: "openconfig-keychain"
Path from parent:     "state/start-time"
Path from root:       "/keychains/keychain/keys/key/receive-lifetime/state/start-time"

type Keychain_Key_ReceiveLifetime_StartTimePathAny

type Keychain_Key_ReceiveLifetime_StartTimePathAny struct {
	*ygnmi.NodePath
	// contains filtered or unexported fields
}

Keychain_Key_ReceiveLifetime_StartTimePathAny represents the wildcard version of the /openconfig-keychain/keychains/keychain/keys/key/receive-lifetime/state/start-time YANG schema element.

func (*Keychain_Key_ReceiveLifetime_StartTimePathAny) Config

Config returns a Query that can be used in gNMI operations.

Defining module:      "openconfig-keychain"
Instantiating module: "openconfig-keychain"
Path from parent:     "config/start-time"
Path from root:       "/keychains/keychain/keys/key/receive-lifetime/config/start-time"

func (*Keychain_Key_ReceiveLifetime_StartTimePathAny) State

State returns a Query that can be used in gNMI operations.

Defining module:      "openconfig-keychain"
Instantiating module: "openconfig-keychain"
Path from parent:     "state/start-time"
Path from root:       "/keychains/keychain/keys/key/receive-lifetime/state/start-time"

type Keychain_Key_SecretKeyPath

type Keychain_Key_SecretKeyPath struct {
	*ygnmi.NodePath
	// contains filtered or unexported fields
}

Keychain_Key_SecretKeyPath represents the /openconfig-keychain/keychains/keychain/keys/key/state/secret-key YANG schema element.

func (*Keychain_Key_SecretKeyPath) Config

Config returns a Query that can be used in gNMI operations.

Defining module:      "openconfig-keychain"
Instantiating module: "openconfig-keychain"
Path from parent:     "config/secret-key"
Path from root:       "/keychains/keychain/keys/key/config/secret-key"

func (*Keychain_Key_SecretKeyPath) State

State returns a Query that can be used in gNMI operations.

Defining module:      "openconfig-keychain"
Instantiating module: "openconfig-keychain"
Path from parent:     "state/secret-key"
Path from root:       "/keychains/keychain/keys/key/state/secret-key"

type Keychain_Key_SecretKeyPathAny

type Keychain_Key_SecretKeyPathAny struct {
	*ygnmi.NodePath
	// contains filtered or unexported fields
}

Keychain_Key_SecretKeyPathAny represents the wildcard version of the /openconfig-keychain/keychains/keychain/keys/key/state/secret-key YANG schema element.

func (*Keychain_Key_SecretKeyPathAny) Config

Config returns a Query that can be used in gNMI operations.

Defining module:      "openconfig-keychain"
Instantiating module: "openconfig-keychain"
Path from parent:     "config/secret-key"
Path from root:       "/keychains/keychain/keys/key/config/secret-key"

func (*Keychain_Key_SecretKeyPathAny) State

State returns a Query that can be used in gNMI operations.

Defining module:      "openconfig-keychain"
Instantiating module: "openconfig-keychain"
Path from parent:     "state/secret-key"
Path from root:       "/keychains/keychain/keys/key/state/secret-key"

type Keychain_Key_SendLifetimePath

type Keychain_Key_SendLifetimePath struct {
	*ygnmi.NodePath
}

Keychain_Key_SendLifetimePath represents the /openconfig-keychain/keychains/keychain/keys/key/send-lifetime YANG schema element.

func (*Keychain_Key_SendLifetimePath) Config

Config returns a Query that can be used in gNMI operations.

func (*Keychain_Key_SendLifetimePath) EndTime

EndTime (leaf): The time at which the key becomes invalid for use. The value is the timestamp in nanoseconds relative to the Unix Epoch (Jan 1, 1970 00:00:00 UTC).

Leaving this value unset, or setting it to 0, indicates that the key remains valid forever (no end time).

Defining module:      "openconfig-keychain"
Instantiating module: "openconfig-keychain"
Path from parent:     "*/end-time"
Path from root:       "/keychains/keychain/keys/key/send-lifetime/*/end-time"

func (*Keychain_Key_SendLifetimePath) SendAndReceive

SendAndReceive (leaf): When this is set to true (the default value), the specified send lifetime is also used in the receive direction. When set to false, the device should use the specified receive-lifetime for the receive direction (asymmetric mode). If send-and-receive is false, and the device does not support asymmetric configuration, the config should be rejected as unsupported.

Defining module:      "openconfig-keychain"
Instantiating module: "openconfig-keychain"
Path from parent:     "*/send-and-receive"
Path from root:       "/keychains/keychain/keys/key/send-lifetime/*/send-and-receive"

func (*Keychain_Key_SendLifetimePath) StartTime

StartTime (leaf): The time at which the key becomes valid for use. The value is the timestamp in nanoseconds relative to the Unix Epoch (Jan 1, 1970 00:00:00 UTC).

Defining module:      "openconfig-keychain"
Instantiating module: "openconfig-keychain"
Path from parent:     "*/start-time"
Path from root:       "/keychains/keychain/keys/key/send-lifetime/*/start-time"

func (*Keychain_Key_SendLifetimePath) State

State returns a Query that can be used in gNMI operations.

type Keychain_Key_SendLifetimePathAny

type Keychain_Key_SendLifetimePathAny struct {
	*ygnmi.NodePath
}

Keychain_Key_SendLifetimePathAny represents the wildcard version of the /openconfig-keychain/keychains/keychain/keys/key/send-lifetime YANG schema element.

func (*Keychain_Key_SendLifetimePathAny) Config

Config returns a Query that can be used in gNMI operations.

func (*Keychain_Key_SendLifetimePathAny) EndTime

EndTime (leaf): The time at which the key becomes invalid for use. The value is the timestamp in nanoseconds relative to the Unix Epoch (Jan 1, 1970 00:00:00 UTC).

Leaving this value unset, or setting it to 0, indicates that the key remains valid forever (no end time).

Defining module:      "openconfig-keychain"
Instantiating module: "openconfig-keychain"
Path from parent:     "*/end-time"
Path from root:       "/keychains/keychain/keys/key/send-lifetime/*/end-time"

func (*Keychain_Key_SendLifetimePathAny) SendAndReceive

SendAndReceive (leaf): When this is set to true (the default value), the specified send lifetime is also used in the receive direction. When set to false, the device should use the specified receive-lifetime for the receive direction (asymmetric mode). If send-and-receive is false, and the device does not support asymmetric configuration, the config should be rejected as unsupported.

Defining module:      "openconfig-keychain"
Instantiating module: "openconfig-keychain"
Path from parent:     "*/send-and-receive"
Path from root:       "/keychains/keychain/keys/key/send-lifetime/*/send-and-receive"

func (*Keychain_Key_SendLifetimePathAny) StartTime

StartTime (leaf): The time at which the key becomes valid for use. The value is the timestamp in nanoseconds relative to the Unix Epoch (Jan 1, 1970 00:00:00 UTC).

Defining module:      "openconfig-keychain"
Instantiating module: "openconfig-keychain"
Path from parent:     "*/start-time"
Path from root:       "/keychains/keychain/keys/key/send-lifetime/*/start-time"

func (*Keychain_Key_SendLifetimePathAny) State

State returns a Query that can be used in gNMI operations.

type Keychain_Key_SendLifetime_EndTimePath

type Keychain_Key_SendLifetime_EndTimePath struct {
	*ygnmi.NodePath
	// contains filtered or unexported fields
}

Keychain_Key_SendLifetime_EndTimePath represents the /openconfig-keychain/keychains/keychain/keys/key/send-lifetime/state/end-time YANG schema element.

func (*Keychain_Key_SendLifetime_EndTimePath) Config

Config returns a Query that can be used in gNMI operations.

Defining module:      "openconfig-keychain"
Instantiating module: "openconfig-keychain"
Path from parent:     "config/end-time"
Path from root:       "/keychains/keychain/keys/key/send-lifetime/config/end-time"

func (*Keychain_Key_SendLifetime_EndTimePath) State

State returns a Query that can be used in gNMI operations.

Defining module:      "openconfig-keychain"
Instantiating module: "openconfig-keychain"
Path from parent:     "state/end-time"
Path from root:       "/keychains/keychain/keys/key/send-lifetime/state/end-time"

type Keychain_Key_SendLifetime_EndTimePathAny

type Keychain_Key_SendLifetime_EndTimePathAny struct {
	*ygnmi.NodePath
	// contains filtered or unexported fields
}

Keychain_Key_SendLifetime_EndTimePathAny represents the wildcard version of the /openconfig-keychain/keychains/keychain/keys/key/send-lifetime/state/end-time YANG schema element.

func (*Keychain_Key_SendLifetime_EndTimePathAny) Config

Config returns a Query that can be used in gNMI operations.

Defining module:      "openconfig-keychain"
Instantiating module: "openconfig-keychain"
Path from parent:     "config/end-time"
Path from root:       "/keychains/keychain/keys/key/send-lifetime/config/end-time"

func (*Keychain_Key_SendLifetime_EndTimePathAny) State

State returns a Query that can be used in gNMI operations.

Defining module:      "openconfig-keychain"
Instantiating module: "openconfig-keychain"
Path from parent:     "state/end-time"
Path from root:       "/keychains/keychain/keys/key/send-lifetime/state/end-time"

type Keychain_Key_SendLifetime_SendAndReceivePath

type Keychain_Key_SendLifetime_SendAndReceivePath struct {
	*ygnmi.NodePath
	// contains filtered or unexported fields
}

Keychain_Key_SendLifetime_SendAndReceivePath represents the /openconfig-keychain/keychains/keychain/keys/key/send-lifetime/state/send-and-receive YANG schema element.

func (*Keychain_Key_SendLifetime_SendAndReceivePath) Config

Config returns a Query that can be used in gNMI operations.

Defining module:      "openconfig-keychain"
Instantiating module: "openconfig-keychain"
Path from parent:     "config/send-and-receive"
Path from root:       "/keychains/keychain/keys/key/send-lifetime/config/send-and-receive"

func (*Keychain_Key_SendLifetime_SendAndReceivePath) State

State returns a Query that can be used in gNMI operations.

Defining module:      "openconfig-keychain"
Instantiating module: "openconfig-keychain"
Path from parent:     "state/send-and-receive"
Path from root:       "/keychains/keychain/keys/key/send-lifetime/state/send-and-receive"

type Keychain_Key_SendLifetime_SendAndReceivePathAny

type Keychain_Key_SendLifetime_SendAndReceivePathAny struct {
	*ygnmi.NodePath
	// contains filtered or unexported fields
}

Keychain_Key_SendLifetime_SendAndReceivePathAny represents the wildcard version of the /openconfig-keychain/keychains/keychain/keys/key/send-lifetime/state/send-and-receive YANG schema element.

func (*Keychain_Key_SendLifetime_SendAndReceivePathAny) Config

Config returns a Query that can be used in gNMI operations.

Defining module:      "openconfig-keychain"
Instantiating module: "openconfig-keychain"
Path from parent:     "config/send-and-receive"
Path from root:       "/keychains/keychain/keys/key/send-lifetime/config/send-and-receive"

func (*Keychain_Key_SendLifetime_SendAndReceivePathAny) State

State returns a Query that can be used in gNMI operations.

Defining module:      "openconfig-keychain"
Instantiating module: "openconfig-keychain"
Path from parent:     "state/send-and-receive"
Path from root:       "/keychains/keychain/keys/key/send-lifetime/state/send-and-receive"

type Keychain_Key_SendLifetime_StartTimePath

type Keychain_Key_SendLifetime_StartTimePath struct {
	*ygnmi.NodePath
	// contains filtered or unexported fields
}

Keychain_Key_SendLifetime_StartTimePath represents the /openconfig-keychain/keychains/keychain/keys/key/send-lifetime/state/start-time YANG schema element.

func (*Keychain_Key_SendLifetime_StartTimePath) Config

Config returns a Query that can be used in gNMI operations.

Defining module:      "openconfig-keychain"
Instantiating module: "openconfig-keychain"
Path from parent:     "config/start-time"
Path from root:       "/keychains/keychain/keys/key/send-lifetime/config/start-time"

func (*Keychain_Key_SendLifetime_StartTimePath) State

State returns a Query that can be used in gNMI operations.

Defining module:      "openconfig-keychain"
Instantiating module: "openconfig-keychain"
Path from parent:     "state/start-time"
Path from root:       "/keychains/keychain/keys/key/send-lifetime/state/start-time"

type Keychain_Key_SendLifetime_StartTimePathAny

type Keychain_Key_SendLifetime_StartTimePathAny struct {
	*ygnmi.NodePath
	// contains filtered or unexported fields
}

Keychain_Key_SendLifetime_StartTimePathAny represents the wildcard version of the /openconfig-keychain/keychains/keychain/keys/key/send-lifetime/state/start-time YANG schema element.

func (*Keychain_Key_SendLifetime_StartTimePathAny) Config

Config returns a Query that can be used in gNMI operations.

Defining module:      "openconfig-keychain"
Instantiating module: "openconfig-keychain"
Path from parent:     "config/start-time"
Path from root:       "/keychains/keychain/keys/key/send-lifetime/config/start-time"

func (*Keychain_Key_SendLifetime_StartTimePathAny) State

State returns a Query that can be used in gNMI operations.

Defining module:      "openconfig-keychain"
Instantiating module: "openconfig-keychain"
Path from parent:     "state/start-time"
Path from root:       "/keychains/keychain/keys/key/send-lifetime/state/start-time"

type Keychain_NamePath

type Keychain_NamePath struct {
	*ygnmi.NodePath
	// contains filtered or unexported fields
}

Keychain_NamePath represents the /openconfig-keychain/keychains/keychain/state/name YANG schema element.

func (*Keychain_NamePath) Config

Config returns a Query that can be used in gNMI operations.

Defining module:      "openconfig-keychain"
Instantiating module: "openconfig-keychain"
Path from parent:     "config/name"
Path from root:       "/keychains/keychain/config/name"

func (*Keychain_NamePath) State

State returns a Query that can be used in gNMI operations.

Defining module:      "openconfig-keychain"
Instantiating module: "openconfig-keychain"
Path from parent:     "state/name"
Path from root:       "/keychains/keychain/state/name"

type Keychain_NamePathAny

type Keychain_NamePathAny struct {
	*ygnmi.NodePath
	// contains filtered or unexported fields
}

Keychain_NamePathAny represents the wildcard version of the /openconfig-keychain/keychains/keychain/state/name YANG schema element.

func (*Keychain_NamePathAny) Config

Config returns a Query that can be used in gNMI operations.

Defining module:      "openconfig-keychain"
Instantiating module: "openconfig-keychain"
Path from parent:     "config/name"
Path from root:       "/keychains/keychain/config/name"

func (*Keychain_NamePathAny) State

State returns a Query that can be used in gNMI operations.

Defining module:      "openconfig-keychain"
Instantiating module: "openconfig-keychain"
Path from parent:     "state/name"
Path from root:       "/keychains/keychain/state/name"

type Keychain_TolerancePath

type Keychain_TolerancePath struct {
	*ygnmi.NodePath
	// contains filtered or unexported fields
}

Keychain_TolerancePath represents the /openconfig-keychain/keychains/keychain/state/tolerance YANG schema element.

func (*Keychain_TolerancePath) Config

Config returns a Query that can be used in gNMI operations.

Defining module:      "openconfig-keychain"
Instantiating module: "openconfig-keychain"
Path from parent:     "config/tolerance"
Path from root:       "/keychains/keychain/config/tolerance"

func (*Keychain_TolerancePath) State

State returns a Query that can be used in gNMI operations.

Defining module:      "openconfig-keychain"
Instantiating module: "openconfig-keychain"
Path from parent:     "state/tolerance"
Path from root:       "/keychains/keychain/state/tolerance"

type Keychain_TolerancePathAny

type Keychain_TolerancePathAny struct {
	*ygnmi.NodePath
	// contains filtered or unexported fields
}

Keychain_TolerancePathAny represents the wildcard version of the /openconfig-keychain/keychains/keychain/state/tolerance YANG schema element.

func (*Keychain_TolerancePathAny) Config

Config returns a Query that can be used in gNMI operations.

Defining module:      "openconfig-keychain"
Instantiating module: "openconfig-keychain"
Path from parent:     "config/tolerance"
Path from root:       "/keychains/keychain/config/tolerance"

func (*Keychain_TolerancePathAny) State

State returns a Query that can be used in gNMI operations.

Defining module:      "openconfig-keychain"
Instantiating module: "openconfig-keychain"
Path from parent:     "state/tolerance"
Path from root:       "/keychains/keychain/state/tolerance"

Jump to

Keyboard shortcuts

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