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

Update for Bookworm changes #73

Merged
merged 5 commits into from
Nov 6, 2023

Commits on Nov 3, 2023

  1. [DualToR][caclmgrd] Fix IPtables rules for multiple vlan interfaces f…

    …or DualToR config (sonic-net#82)
    
    This PR is a required for changing the L3 IP forwarding Behavior to SoC in active-active toplogy.
    Basically a src IP is added to the SNAT rule so that only packets originating from ToR with src IP as vlan IP get natted by the rule and change the src IP to LoopBack IP
    However if there are mutiple vlan IP's we only add the source IP as vlan IP, for which the SoC IP belongs to, this PR adds that change.
    
    How I did it
    check the config DB if the ToR is a DualToR and has an SoC IP assigned.
    put an iptable rule
    iptables -t nat -A POSTROUTING --destination -j SNAT --to-source "
    
    Signed-off-by: vaibhav-dahiya <[email protected]>
    vdahiya12 authored Nov 3, 2023
    Configuration menu
    Copy the full SHA
    beb8bbe View commit details
    Browse the repository at this point in the history
  2. Specify test dependencies under extra_requires

    Newer versions of pip/setuptools don't support test_requires, and the
    current standard is to specify any extra dependencies (such as those
    required for testing) under extra_requires.
    
    Therefore, specify the testing dependencies under extra_requires. These
    can be installed via pip using `pip install '.[testing]'`.
    
    Signed-off-by: Saikrishna Arcot <[email protected]>
    saiarcot895 committed Nov 3, 2023
    Configuration menu
    Copy the full SHA
    66d69a8 View commit details
    Browse the repository at this point in the history
  3. Fix diff output in test for Python 3

    Signed-off-by: Saikrishna Arcot <[email protected]>
    saiarcot895 committed Nov 3, 2023
    Configuration menu
    Copy the full SHA
    447f8b6 View commit details
    Browse the repository at this point in the history

Commits on Nov 5, 2023

  1. Replace libpam-cracklib with libpam-pwquality

    Debian Bookworm has removed libpam-cracklib; replace with
    libpam-pwquality.
    
    Signed-off-by: Saikrishna Arcot <[email protected]>
    saiarcot895 committed Nov 5, 2023
    Configuration menu
    Copy the full SHA
    c913d4b View commit details
    Browse the repository at this point in the history
  2. Move sonic-host-services-data from sonic-buildimage into this repo

    This repo's tests depends on files that are in
    src/sonic-host-services-data in sonic-buildimage. Due to PR check
    requirements, this creates a cyclical dependency when needing to update
    the templates and the sample output files.
    
    To fix that cyclical dependency, move that directory into this repo.
    That way, both the templates and the sample output files can be updated
    in a single commit.
    
    Signed-off-by: Saikrishna Arcot <[email protected]>
    saiarcot895 committed Nov 5, 2023
    Configuration menu
    Copy the full SHA
    db4bbf8 View commit details
    Browse the repository at this point in the history