Skip to content
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
95 changes: 58 additions & 37 deletions go/config/netinst.pb.go

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

13 changes: 13 additions & 0 deletions proto/config/netinst.proto
Original file line number Diff line number Diff line change
Expand Up @@ -326,6 +326,19 @@ message NetworkInstanceConfig {
// When enabled, LLDP frames (EtherType 0x88cc) are not dropped or suppressed
// by the forwarding plane.
bool forward_lldp = 52;

// cluster_wide - Determines whether this network instance is device-specific
// or shared across an Edge Node Cluster (ENC).
// If false (default), the network instance configuration is only downloaded
// to and instantiated on this individual device.
// If true, the network instance configuration is downloaded to every device
// that is a member of the Edge Node Cluster, and the network instance is
// instantiated identically on each of them. This allows application
// instances running on any node of the cluster to attach to the same
// logical network instance, which is required e.g. for app instances that
// may be relocated between cluster nodes. This may be useful for native
// kubernetes applications using the network instance.
bool cluster_wide = 53;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does cluster_wide mean that each device gets its own isolated replica of the network instance (with a different UUID but the same configuration)? If so, I'm not sure cluster_wide is the best name, since the network instance doesn't actually provide connectivity between applications running on different devices.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No. this will be no different from today's ENC, same UUID to all the nodes. But this is preparing for native kubernetes applications, which does not have any application reference to detail of NI inside pillar. This is to make a difference from device only NI, like those default NI generated.

}

// VLAN Access Port config applied to physical port(s) attached to a Switch Network Instance.
Expand Down
Loading
Loading