Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow to use switch NI ports as VLAN access ports #64

Merged
merged 2 commits into from
Aug 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
195 changes: 146 additions & 49 deletions go/config/netinst.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 17 additions & 0 deletions proto/config/netinst.proto
Original file line number Diff line number Diff line change
Expand Up @@ -310,4 +310,21 @@ message NetworkInstanceConfig {
// Depending on the implementation, it may also introduce additional packet processing
// overhead.
bool disable_flowlog = 50;

// VLAN access ports configured for a switch network instance.
// For other types of network instances, this option is ignored.
// This setting applies to physical network ports attached to the network instance.
// VLAN configuration for application interfaces is applied separately via AppInstanceConfig
// (see NetworkAdapter.access_vlan_id).
repeated VlanAccessPort vlan_access_ports = 51;
}

// VLAN Access Port config applied to physical port(s) attached to a Switch Network Instance.
message VlanAccessPort {
// VLAN ID from the range <1,4094>
uint32 vlan_id = 1;
// Physical network adapter used as the access port for the given VLAN.
// Either a single NI port referenced by its name (SystemAdapter.Name, aka logical label)
// or an adapter shared-label matching zero or more NI ports.
eriknordmark marked this conversation as resolved.
Show resolved Hide resolved
string access_port = 2;
}
Loading
Loading