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

Sagitta t3493 #3497

Closed
wants to merge 1,346 commits into from
Closed

Sagitta t3493 #3497

wants to merge 1,346 commits into from

Conversation

Giggum
Copy link
Contributor

@Giggum Giggum commented May 22, 2024

Change Summary

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)

Component(s) name

Proposed changes

How to test

Smoketest result

Checklist:

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

HollyGurza and others added 30 commits April 4, 2024 11:57
T6199: spring cleaning - drop unused Python imports (backport vyos#3240)
bgp: T5943: BGP Peer-group members must be all internal or all external (backport vyos#3238)
Allowed using ipoe interface client-subnet without client pools
configuration.

(cherry picked from commit 49d4df5)
T6199: drop unused Python imports from graphql source (backport vyos#3246)
The option "passive-interface default" was set even if it was not present in
the previous version we are migrating from. Fix migration script to handle this
with a conditional path.

(cherry picked from commit ef8d9a7)
ospf: T6089: fix invalid "ospf passive-interface default" (backport vyos#3249)
T6197: Fixed usage ipoe interface client-subnet without pools (backport vyos#3244)
The vyos.xml functionality is replaced with vyos.xml_ref.

(cherry picked from commit 28a7195)
(cherry picked from commit 489e6fa)

# Conflicts:
#	src/migration-scripts/dhcp-server/9-to-10
#	src/migration-scripts/dhcpv6-server/3-to-4
      - Added show firewall <sections> detail paths
	modified:   src/op_mode/firewall.py
      - Added Description as a header to normal "show firewall" commands
      - Added 'detail' view which shows the output in a list key-pair format
Description column was added for these commands and their subsections:
show firewall statistics
show firewall groups
show firewall <family>

Detail view was added for these commands:
show firewall bridge forward filter detail
show firewall bridge forward filter rule <rule#> detail
show firewall bridge name <chain> detail
show firewall bridge name <chain> rule <rule#> detail

show firewall ipv4 forward filter detail
show firewall ipv4 forward filter rule <rule#> detail
show firewall ipv4 input filter detail
show firewall ipv4 input filter rule <rule#> detail
show firewall ipv4 output filter detail
show firewall ipv4 output filter rule <rule#> detail
show firewall ipv4 name <chain> detail
show firewall ipv4 name <chain> rule <rule#> detail

show firewall ipv6 forward filter detail
show firewall ipv6 forward filter rule <rule#> detail
show firewall ipv6 input filter detail
show firewall ipv6 input filter rule <rule#> detail
show firewall ipv6 output filter detail
show firewall ipv6 output filter rule <rule#> detail
show firewall ipv6 name <chain> detail
show firewall ipv6 name <chain> rule <rule#> detail

show firewall group detail
show firewall group <group> detail

(cherry picked from commit 025438c)
      - modified:   src/op_mode/firewall.py
Changed behavior of "show firewall" for specific rule to only show rule and not also default-action

(cherry picked from commit a7c5205)
For readability in console sessions, moved the description column to only be shown in the detail view.

Changed wrapping in the detail view for description to 65 characters to prevent full line wrapping in console sessions.

(cherry picked from commit 4dba82c)
Use vyos.xml_ref.default_value to query XML default values and take them into
account when validating properly applied defaults in individual smoketests
instead of using hardcoded values like 443 for https port.

(cherry picked from commit d9d2e9c)
T6199: remove unused Python imports from migration scripts (backport vyos#3260)
conntrack-sync: T1244: Support for StartupResync in conntrackd (backport vyos#3254)
T6188: add description to show firewall (backport vyos#3219)
T6199: start validating smoketests against real CLI defaultValues (backport vyos#3266)
dmbaturin and others added 19 commits May 16, 2024 10:11
op mode: T3355: remove the mention of legacy non-image installations (backport vyos#3457)
op mode: T6339: display build flavor and comment in "show version" (backport vyos#3456)
T5756: L2TP RADIUS backup and weight settings (backport vyos#3450)
op mode: T4519: Show DUID instead of IAID_DUID
Added the following commands:
show evpn
show evpn es
show evpn es <es-id>
show evpn es detail
show evpn es-evi
show evpn es-evi detail
show evpn es-evi vni <num>
show evpn vni
show evpn vni detail
show evpn vni <num>

Updated the following commands:
show evpn access-vlan
show evpn arp-cache
show evpn mac
show evpn next-hops
show evpn rmac

(cherry picked from commit c6be441)
Converted completion helpers from python to bash for performance

Previous commit:
Added the following commands:
show evpn
show evpn es
show evpn es <es-id>
show evpn es detail
show evpn es-evi
show evpn es-evi detail
show evpn es-evi vni <num>
show evpn vni
show evpn vni detail
show evpn vni <num>

Updated the following commands:
show evpn access-vlan
show evpn arp-cache
show evpn mac
show evpn next-hops
show evpn rmac

(cherry picked from commit 3917e3e)
T6335: Add/Update EVPN op commands (backport vyos#3458)
T6358: Container config option to enable host pid (backport vyos#3472)
T6354: Get rid of the custom boot type check in version.py (backport vyos#3474)
op mode: T6348: SNAT op-mode fails with flowtable offload entries (backport vyos#3471)
T6354: do an explicit read from version file to avoid circular reference (backport vyos#3480)
/usr/bin/config-mgmt requires an argument OR to be symbolically linked to
*commit-revision or *commit-archive, for which it interprets argv[0] through
the useful trickery:

https://github.com/vyos/vyos-1x/blob/current/python/vyos/config_mgmt.py#L693-L700

Traceback (most recent call last):
  File "/usr/bin/config-mgmt", line 33, in <module>
    sys.exit(load_entry_point('vyos==1.3.0', 'console_scripts', 'config-mgmt')())
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/vyos/config_mgmt.py", line 746, in run
    func = getattr(config_mgmt, args['subcommand'])
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: attribute name must be string, not 'NoneType'

(cherry picked from commit 0d6e441)
op-mode: T6367: fix "force commit-archive" TypeError (backport vyos#3489)
@Giggum Giggum requested a review from a team as a code owner May 22, 2024 02:09
@Giggum Giggum closed this May 22, 2024
@Giggum Giggum deleted the sagitta_T3493 branch May 22, 2024 02:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.