Skip to content

net: add route-metric support in NetworkManager renderer#6886

Open
Harshadev-24 wants to merge 1 commit into
canonical:mainfrom
Harshadev-24:fix-nm-route-metric
Open

net: add route-metric support in NetworkManager renderer#6886
Harshadev-24 wants to merge 1 commit into
canonical:mainfrom
Harshadev-24:fix-nm-route-metric

Conversation

@Harshadev-24
Copy link
Copy Markdown

Thank you for submitting a PR to cloud-init!

To ease the process of reviewing your PR, do make sure to complete the following checklist before submitting a pull request.

  • I have signed the CLA: https://ubuntu.com/legal/contributors
  • I have included a comprehensive commit message using the guide below
  • I have added unit tests to cover the new behavior under tests/unittests/
    • Test files should map to source files i.e. a source file cloudinit/example.py should be tested by tests/unittests/test_example.py
    • Run unit tests with tox -e py3
  • I have kept the change small, avoiding unnecessary whitespace or non-functional changes.
  • I have added a reference to issues that this PR relates to in the PR message (Refs integration: do not LXD bind mount /etc/cloud/cloud.cfg.d #1234, Fixes integration: do not LXD bind mount /etc/cloud/cloud.cfg.d #1234)
  • I have updated the documentation with the changed behavior.
    • If the change doesn't change the user interface and is trivial, this step may be skipped.
    • Cloud-config documentation is generated from the jsonschema.
    • Generate docs with tox -e doc.

Proposed Commit Message

fix(net): add route-metric support in NetworkManager renderer

This implements the `route-metric` configuration for the NetworkManager 
renderer when a `metric` value is provided in the subnet data. Prior to 
this, the renderer was silently ignoring the route metrics provided 
by the cloud data sources.

Fixes GH-6854

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant