Documentation ¶
Index ¶
- func ApplyVSPANConfig(config SpanConfig) error
- func CreateSpanSessionFromCont(cont string, domain string, namespace string, dstIp string) error
- func DeleteVSPANSession(sgname string) error
- func GetAPICClient() *client.Client
- func PrintAllOpflexIDEp()
- func PrintAllVSPANSessions()
- func SaveSpanConfig(c SpanConfig, filename string) error
- func StartVSPANSession(spanSrcGrpName string) error
- func StopVSPANSession(spanSrcGrpName string) error
- type CEP
- type Destination
- type DestinationGroup
- type Epg
- type Path
- type Source
- type SpanConfig
- type SpanSession
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ApplyVSPANConfig ¶
func ApplyVSPANConfig(config SpanConfig) error
func DeleteVSPANSession ¶
func GetAPICClient ¶
func PrintAllOpflexIDEp ¶
func PrintAllOpflexIDEp()
func PrintAllVSPANSessions ¶
func PrintAllVSPANSessions()
func SaveSpanConfig ¶
func SaveSpanConfig(c SpanConfig, filename string) error
func StartVSPANSession ¶
func StopVSPANSession ¶
Types ¶
type Destination ¶
type DestinationGroup ¶
type DestinationGroup struct { Name string `mapstructure:"name"` Tag string `mapstructure:"tag"` Destinations []Destination `mapstructure:"destinations"` }
type SpanConfig ¶
type SpanConfig struct {
Sessions []SpanSession `mapstructure:"sessions"`
}
type SpanSession ¶
type SpanSession struct { Name string `mapstructure:"name"` Destination_Groups []DestinationGroup `mapstructure:"destination_groups"` Sources []Source `mapstructure:"sources"` Admin_state string `mapstructure:"admin_state"` State string `mapstructure:"state"` }
func NewSpanCEPSession ¶
Click to show internal directories.
Click to hide internal directories.