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

ncm-network: nmstate enhancements #1647

Merged
merged 3 commits into from
Feb 20, 2024

Commits on Jan 10, 2024

  1. ncm-network: nmstate - add absent state for routes per device.

    nmstatectl apply merges current route state config with desired state.
    Adding state: absent to route config for the interface will clear routes
    before adding the desired state instead of merge. Therefore keeping only
    the routes configured through the profiles.
    Abdul Karim authored and Abdul Karim committed Jan 10, 2024
    Configuration menu
    Copy the full SHA
    da1f5af View commit details
    Browse the repository at this point in the history

Commits on Feb 2, 2024

  1. ncm-network: nmstate - add clear route rules before apply

    - add a default absent rule to clear route rules entries for the table.
      nmstate by default will merge rules therefore won't clear if there are any
      old rules already present. This will make sure only rules defined by profile is present.
    Abdul Karim authored and Abdul Karim committed Feb 2, 2024
    Configuration menu
    Copy the full SHA
    fba94a5 View commit details
    Browse the repository at this point in the history

Commits on Feb 5, 2024

  1. ncm-network: nmstate improvements and add advance tests

    - mimic bootproto settings to default to static, to match network.pm.
    - refactored the conditions for setting config based on bootproto.
    - support to configure dhcp interface.
    - fixed the way bonded interface is recognised
    - add advance testing for nmstate interface config
    Abdul Karim authored and Abdul Karim committed Feb 5, 2024
    Configuration menu
    Copy the full SHA
    7a72ad9 View commit details
    Browse the repository at this point in the history