-
Notifications
You must be signed in to change notification settings - Fork 660
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
Clarify management and cpu interface type descriptions #1156
Open
dplore
wants to merge
4
commits into
master
Choose a base branch
from
dplore/mgmt-cpu-if-descr
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -51,9 +51,16 @@ module openconfig-interfaces { | |
Section 4.c of the IETF Trust's Legal Provisions Relating | ||
to IETF Documents (http://trustee.ietf.org/license-info)."; | ||
|
||
oc-ext:openconfig-version "3.7.1"; | ||
oc-ext:openconfig-version "3.7.2"; | ||
|
||
revision "2024-04-04" { | ||
revision "2024-10-15" { | ||
description | ||
"Clarify cpu and management interface types."; | ||
reference | ||
"3.7.2"; | ||
} | ||
|
||
revision "2024-04-04" { | ||
description | ||
"Use single quotes in descriptions."; | ||
reference | ||
|
@@ -720,21 +727,25 @@ module openconfig-interfaces { | |
type boolean; | ||
description | ||
"When set to true, the interface is a dedicated | ||
management interface that is not connected to dataplane | ||
interfaces. It may be used to connect the system to an | ||
out-of-band management network, for example."; | ||
management interface for external connectivity to the system. | ||
This interface is not connected to an INTEGRATED_CIRCUIT and | ||
therefore not typically used for dataplane traffic. It may be | ||
used to connect the system to an out-of-band management network, | ||
for example. On systems with a CONTROLLER_CARD, the PORT | ||
components on the CONTROLLER_CARD are typically management | ||
interfaces."; | ||
oc-ext:telemetry-on-change; | ||
} | ||
|
||
leaf cpu { | ||
type boolean; | ||
description | ||
"When set to true, the interface is for traffic | ||
that is handled by the system CPU, sometimes also called the | ||
control plane interface. On systems that represent the CPU | ||
interface as an Ethernet interface, for example, this leaf | ||
should be used to distinguish the CPU interface from dataplane | ||
interfaces."; | ||
that is sent between CPU components and other components within | ||
a system. This is sometimes also called an internal control plane | ||
interface. On systems that represent the CPU interface(s) | ||
as Ethernet this leaf should be used to distinguish these internal | ||
interface from dataplane and management interfaces."; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. nit: these internal interfaces |
||
oc-ext:telemetry-on-change; | ||
} | ||
} | ||
|
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is the only part of the description that seems slightly off to me. I'm not sure I can come up with a better description, but why the use of capitalised 'INTEGRATED_CIRCUIT'? I think I'm likely missing the significance of this term - it makes sense that a dedicated management only interface is not designed to make use of the devices dataplane, but what is the relevance of not connecting to an IC? Surely there could be a separate IC specifically designed to handle management plane traffic?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, I think this is a good question -- if this port is not connected to some forwarding ASIC, what is it connected to? It seems like it /could/ be connected to an ASIC, just there is no guarantee that it is, since it might just be a NIC-like local Ethernet port on the supervisor/routing-engine/CPM/....
(Simon, I think the relevance of the
INTEGRATED_CIRCUIT
being uppercase is that this is the identity in theopenconfig-platform
model for ASICs/NPUs.)