Documentation
¶
Overview ¶
SPDX-License-Identifier: Apache-2.0 Copyright (c) 2021 Intel Corporation
Index ¶
- Constants
- type CrChain
- type Metadata
- type RouteSpec
- type RoutingNetwork
- type SfcClientSelectorIntent
- type SfcClientSelectorIntentByEndKey
- type SfcClientSelectorIntentKey
- type SfcClientSelectorIntentSpec
- type SfcEndKey
- type SfcIntent
- type SfcIntentKey
- type SfcIntentSpec
- type SfcProviderNetworkIntent
- type SfcProviderNetworkIntentByEndKey
- type SfcProviderNetworkIntentKey
- type SfcProviderNetworkIntentSpec
Constants ¶
const ChainingAPIVersion = "k8s.plugin.opnfv.org/v1alpha1"
ChainingAPIVersion is the kubernetes version of a network chain custom resource
const ChainingApp = "network-chain-intents"
Name of 'app' to create for Network Chaining CRs in the EMCO AppContext
const ChainingKind = "NetworkChaining"
ChainingKind is the Kind string for a network chain
const LeftChainEnd = "left"
Chain constants
const RightChainEnd = "right"
const RoutingChainType = "Routing"
RoutingChainType is currently only defined chaining type
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RouteSpec ¶
type RouteSpec struct { LeftNetwork []RoutingNetwork `json:"leftNetwork"` RightNetwork []RoutingNetwork `json:"rightNetwork"` NetworkChain string `json:"networkChain"` Namespace string `json:"namespace"` }
RouteSpec contains the routing specificaiton of a network chain
type RoutingNetwork ¶
type RoutingNetwork struct { NetworkName string `json:"networkName"` GatewayIP string `json:"gatewayIp"` Subnet string `json:"subnet"` }
RoutingNetwork contains the route networkroute network details for en element of a network chain
type SfcClientSelectorIntent ¶
type SfcClientSelectorIntent struct { Metadata Metadata `json:"metadata" yaml:"metadata"` Spec SfcClientSelectorIntentSpec `json:"spec" yaml:"spec"` }
SfcClientSelectorIntent defines the high level structure of a network chain document
type SfcClientSelectorIntentByEndKey ¶
type SfcClientSelectorIntentByEndKey struct { Project string `json:"project"` CompositeApp string `json:"compositeapp"` CompositeAppVersion string `json:"compositeappversion"` DigName string `json:"deploymentintentgroup"` NetControlIntent string `json:"netcontrolintent"` SfcIntent string `json:"sfcintent"` ChainEnd string `json:"chainEnd"` }
SfcClientSelectorIntentByEndKey is the key structure that is used in the database
type SfcClientSelectorIntentKey ¶
type SfcClientSelectorIntentKey struct { Project string `json:"project"` CompositeApp string `json:"compositeapp"` CompositeAppVersion string `json:"compositeappversion"` DigName string `json:"deploymentintentgroup"` NetControlIntent string `json:"netcontrolintent"` SfcIntent string `json:"sfcintent"` SfcClientSelectorIntent string `json:"sfcclientselectorintent"` }
SfcClientSelectorIntentKey is the key structure that is used in the database
type SfcClientSelectorIntentSpec ¶
type SfcClientSelectorIntentSpec struct { ChainEnd string `json:"chainEnd"` PodSelector metav1.LabelSelector `json:"podSelector"` NamespaceSelector metav1.LabelSelector `json:"namespaceSelector"` }
SfcClientSelectorIntentSpec contains the specification of a network chain
type SfcEndKey ¶
type SfcEndKey struct {
ChainEnd string `json:"chainEnd"`
}
SfcEndKey can be added to resources for searching SFC intents by ChainEnd value
type SfcIntent ¶
type SfcIntent struct { Metadata Metadata `json:"metadata" yaml:"metadata"` Spec SfcIntentSpec `json:"spec" yaml:"spec"` }
SfcIntent defines the high level structure of a network chain document
type SfcIntentKey ¶
type SfcIntentKey struct { Project string `json:"project"` CompositeApp string `json:"compositeapp"` CompositeAppVersion string `json:"compositeappversion"` DigName string `json:"deploymentintentgroup"` NetControlIntent string `json:"netcontrolintent"` SfcIntent string `json:"sfcintent"` }
SfcIntentKey is the key structure that is used in the database
type SfcIntentSpec ¶
type SfcIntentSpec struct { ChainType string `json:"chainType"` NetworkChain string `json:"networkChain"` Namespace string `json:"namespace"` }
SfcIntentSpec contains the specification of a network chain
type SfcProviderNetworkIntent ¶
type SfcProviderNetworkIntent struct { Metadata Metadata `json:"metadata" yaml:"metadata"` Spec SfcProviderNetworkIntentSpec `json:"spec" yaml:"spec"` }
SfcProviderNetworkIntent defines the high level structure of a network chain document
type SfcProviderNetworkIntentByEndKey ¶
type SfcProviderNetworkIntentByEndKey struct { Project string `json:"project"` CompositeApp string `json:"compositeapp"` CompositeAppVersion string `json:"compositeappversion"` DigName string `json:"deploymentintentgroup"` NetControlIntent string `json:"netcontrolintent"` SfcIntent string `json:"sfcintent"` ChainEnd string `json:"chainEnd"` }
SfcProviderNetworkIntentByEndKey is the key structure that is used in the database
type SfcProviderNetworkIntentKey ¶
type SfcProviderNetworkIntentKey struct { Project string `json:"project"` CompositeApp string `json:"compositeapp"` CompositeAppVersion string `json:"compositeappversion"` DigName string `json:"deploymentintentgroup"` NetControlIntent string `json:"netcontrolintent"` SfcIntent string `json:"sfcintent"` SfcProviderNetworkIntent string `json:"sfcprovidernetworkintent"` }
SfcProviderNetworkIntentKey is the key structure that is used in the database