-
Notifications
You must be signed in to change notification settings - Fork 658
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
add system mac leaf at path /system/mac-address/state/system-mac
#924
Conversation
Thanks for this PR. So I think we could add a config leaf companion to /components/component/state/base-mac-address and make it configurable. The only requirement is we need to show that there is an ability to configure Looking at Juniper, I only see JunOS - show chassis mac address. @earies for any guidance. For Nokia SRL - show version @hellt for any guidance here. For Cisco IOS XR, I am not finding documentation on setting a base or system mac address. @rgwilton and @aaronmillisor for comment. |
Hey Darren, |
Major YANG version changes in commit 4586160: |
Compatibility Report for commit 4586160: |
/system/mac-address/state/system-mac
The 2nd URL is behind a walled garden - can you point to public accessible documentation or explain the full intention of what a When and how this MAC address is used? Source MAC used in controller card communications of any kind? Destination address handling? In addition, please provide pointers to other implementations handling and expectations, otherwise this is just a native vendor proprietary feature submission |
@dplore For jericho-based platforms we have a special optional mac address, namely
|
Community requests a more detailed explanation of what the function of the |
Re: nokia srlinux
This is a routing mac; we don't have a config option to customize the system mac at this time. We have configurable |
To add additional commentary from the JUNOS/EVO side - we also do not have any This is also entirely different than Since there hasn't been any detailed explanation or proper multi-references/use-cases, I would suggest dropping the PR |
As PR author, could you explain difference between proposed 'system-mac' leaf and existing 'routing-mac` leaf? |
The system MAC address is not specific to a given hardware component (unlike the base hardware MAC address for different hardware component types). The broad semantics are vendor-specific and implementation-dependent. In general, a change in system MAC address affects both link-local and routed traffic-forwarding aspects and the use of MAC address as a system identifier in control and management protocols like LLDP and SNMP. As an example, with a change of system MAC address, one can expect a) LLDP, STP, LACP, and other link-local frames to be sourced with the configured system MAC address b) L3 packets to be forwarded with a source MAC corresponding to the system MAC address and c) ARP/ND response messages to use the configured system MAC address. |
Ok, so a similar, but different behavior is described by routing-mac. Routing-mac requires 'listen-only' behavior and is not to be used as a source mac-address. Is this source vs. listen behavior the difference? Or are there other differences? |
AFAIK, we don't support a system MAC address in IOS XR - it feels somewhat like a layer violation to me. If from Paul's description, the semantics are "vendor-specific and implementation-dependent", and if no-one else is implementing this, then perhaps this would be best modelled as a vendor specific augmentation, where its precise behaviour could be accurately documented? |
Change Scope
/components/component/state/base-mac-address
with the intention of mapping to the system mac address. However, this seems incorrect as mac addresses in the component level has their own burned in mac addresses while the system mac address is generally configurable. This PR addresses the system mac address by adding the mac address leaf as a configurable leaf under/system/mac-address/
Platform Implementations
Tree Output