Skip to content

Conversation

@jestabro
Copy link
Contributor

Change summary

Add calculation to produce the show command diff, in the form familiar from legacy output, showing the unified diff of the running and proposed config under vyconf.
This will require the companion PRs for vyconf and vyos-1x, the latter simply for normalization of function names and update of commit hashes.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Code style update (formatting, renaming)
  • Refactoring (no functional changes)
  • Migration from an old Vyatta component to vyos-1x, please link to related PR inside obsoleted component
  • Other (please describe):

Related Task(s)

Related PR(s)

Checklist:

  • I have read the CONTRIBUTING document
  • I have linked this PR to one or more Phabricator Task(s)
  • My commit headlines contain a valid Task id
  • My change requires a change to the documentation
  • I have updated the documentation accordingly

@jestabro jestabro self-assigned this Nov 10, 2025
@jestabro jestabro requested a review from dmbaturin November 10, 2025 21:13
@jestabro jestabro changed the title T7988: show config calculation T7988: calculation for config-mode 'show' command Nov 10, 2025
@jestabro jestabro marked this pull request as draft November 10, 2025 23:30
@jestabro jestabro marked this pull request as ready for review November 10, 2025 23:40
@jestabro jestabro marked this pull request as draft November 10, 2025 23:42
@jestabro jestabro marked this pull request as ready for review November 11, 2025 00:03
We need finer grained access to rendering for the standard 'show'
command to show line-by-line diff of running and session configs.
This was part of the hybrid adapter interim approach to integration with
the legacy backend.
The comparison function used to order children in the diff function was
unnecessarily general: maintain lexical-numeric ordering of nodes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant