Hacktoberfest 2026: die Issues, die Maintainer für den Oktober markiert haben – offen und einsteigerfreundlich. Hacktoberfest-Issues durchsuchen

Add support of `state: ignore` match support in route

Offen
#3,052 0 Kommentare 1 Reaktion 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 4 Tagen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
45/100
Issue-Typ
Feature
Klarheit
Größtenteils klar
Aktivitätsstatus
Veraltet
Tech-Stack
rust
Bereich
networking

Rechercherichtung

Start by tracing how route entries with state: absent are handled and how route configuration is reconciled; the issue does not name source files or tests. Then identify the route implementation and relevant tests for matching routes by destination and next-hop interface. Done means routes marked state: ignore are left untouched while other routes on the interface are removed as shown in the example.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

For example, this YAML will instruct nmstate do not touch routes next hop to 10.0.0.0/8 and remove all other routes on eth1.

---
routes:
  config:
  - destination: 10.0.0.0/8
    next-hop-interface: eth1
    state: ignore
  - state: absent
    next-hop-interface: eth1
  - destination: 192.0.3.0/24
    next-hop-address: 192.0.2.1
    next-hop-interface: eth1
    metric: 103
interfaces:
  - name: eth1
    type: ethernet
    state: up
    ipv4:
      address:
      - ip: 192.0.2.251
        prefix-length: 24
      dhcp: false
      enabled: true
Vorherrschende Sprache
Rust
Sterne
396
Forks
121
Ø Merge
3 T. 11 Std.
Gemergte PRs (30 T.)
11

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus nmstate/nmstate

Alle Issues in nmstate/nmstate

Ähnliche Issues

Weitere Issues zu Rust

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.