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

add var for remote system ip in lldp tpl #1577

Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ Value REMOTE_SYSTEM_NAME (.*)
Value REMOTE_SYSTEM_DESCRIPTION (.+)
Value REMOTE_SYSTEM_CAPAB (.*)
Value REMOTE_SYSTEM_ENABLE_CAPAB (.*)
Value REMOTE_SYSTEM_MGMT_IP (.*)

Start
^Local Int(?:er)?f(?:ace)?\s*?[:-]\s+${LOCAL_INTERFACE}
Expand All @@ -17,7 +18,8 @@ Start
^System Description: -> Description
^System Description\s*-\s*${REMOTE_SYSTEM_DESCRIPTION}
^System Capabilities\s*?[:-]\s+${REMOTE_SYSTEM_CAPAB}
^Enabled Capabilities\s*?[:-]\s+${REMOTE_SYSTEM_ENABLE_CAPAB} -> Record
^Enabled Capabilities\s*?[:-]\s+${REMOTE_SYSTEM_ENABLE_CAPAB}
^\s+IP\:\s${REMOTE_SYSTEM_MGMT_IP} -> Record

Description
# Capture the entire line and go back to Neighbor state
Expand Down
Loading