package
Version:
v1.13.1
Opens a new window with list of versions in this module.
Published: Jun 7, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package l2resourcecfg provides parsing factilty for l2 connection point config
map for VLAN breakout case.
type Config struct {
Interfaces []*Resource `yaml:"interfaces"`
Bridges []*Resource `yaml:"bridges"`
}
Config contains list of available l2 connection endpoints
ReadConfig reads configuration from file
type Labels struct {
Via string `yaml:"via"`
}
Labels contins the via selector
type Resource struct {
Name string `yaml:"name"`
Bridge string `yaml:"bridge,omitempty"`
Matches []*Selectors `yaml:"matches"`
}
Resource contains an available interface or bridge name and related matches
type Selectors struct {
LabelSelector []*Labels `yaml:"labelSelector"`
}
Selectors contains a list of selectors
Source Files
¶
Click to show internal directories.
Click to hide internal directories.