Skip to content

Add option for SONiC interface naming schema - #208

Open
iljarotar wants to merge 1 commit into
masterfrom
naming-schema-option
Open

Add option for SONiC interface naming schema#208
iljarotar wants to merge 1 commit into
masterfrom
naming-schema-option

Conversation

@iljarotar

Copy link
Copy Markdown
Contributor

Description

The naming schema of SONiC interfaces in combination with what messages it sends via LLDP is causing problems when trying to adopt different distributions. Read the readme changes for more details.

@iljarotar
iljarotar requested a review from a team as a code owner August 7, 2026 13:41
@metal-robot metal-robot Bot added this to Development Aug 7, 2026
@iljarotar iljarotar self-assigned this Aug 7, 2026
@simcod simcod added the triage This should be talked about in the next planning. label Aug 7, 2026
@simcod simcod moved this to In Progress in Development Aug 7, 2026
@metal-robot metal-robot Bot removed the triage This should be talked about in the next planning. label Aug 7, 2026
Comment thread cmd/internal/core/core.go
Comment on lines -12 to +38
type Core struct {
log *slog.Logger
logLevel string

cidr string
loopbackIP string
asn string
partitionID string
rackID string
roomID string
enableReconfigureSwitch bool
managementGateway string
additionalMgmtRoutes []string
additionalBridgePorts []string
additionalBridgeVIDs []string
spineUplinks []string
setSrcLoopback bool

nos switcher.NOS

driver metalgo.Client
eventServiceClient v1.EventServiceClient

metrics *metrics.Metrics

pxeVlanID uint16

bgpNeighborStateFile string
}
type (
Core struct {
log *slog.Logger
logLevel string

cidr string
loopbackIP string
asn string
partitionID string
rackID string
roomID string
enableReconfigureSwitch bool
managementGateway string
additionalMgmtRoutes []string
additionalBridgePorts []string
additionalBridgeVIDs []string
spineUplinks []string
setSrcLoopback bool

nos switcher.NOS

driver metalgo.Client
eventServiceClient v1.EventServiceClient

metrics *metrics.Metrics

pxeVlanID uint16

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.

Maybe carry this changes in a PR upfront to make this PR easier to review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: In Progress

Development

Successfully merging this pull request may close these issues.

3 participants