Skip to content
@nmstate

nmstate

Nmstate

Nmstate provides a set of libraries with an accompanying command line tool that manages host networking settings in a declarative manner. The networking state is described by a pre-defined schema. Reporting of current state and changes to it (desired state) both conform to the schema.

Nmstate is aimed to satisfy enterprise needs to manage host networking through a northbound declarative API and multi provider support on the southbound. NetworkManager acts as the main provider supported.

Example output:

$ sudo nmstatectl show
---
dns:
  config:
    server:
      - 192.0.2.1
    search:
      - example.org
routes:
  config:
    - destination: 0.0.0.0/0
      next-hop-interface: eth1
      next-hop-address: 192.0.2.1
interfaces:
  - name: eth1
    type: ethernet
    description: Main-NIC
    state: up
    ipv4:
      enabled: true
      dhcp: false
      address:
        - ip: 192.0.2.9
          prefix-length: 24
    ipv6:
      enabled: false

Please refer to https://nmstate.io/ for more document.

Contribution

Any pull request is welcome, please reach out these repositories:

For requesting new new repository, please use pull request against https://github.com/nmstate/.github/ after below requirements been fulfilled:

  • CI enabled and passed.
  • Has integration test cases proving valid use cases.
  • Licensed under LGPL-2.0+ or Apache-2.0+(preferred).
  • Please name at lease two maintainers for this new repository.

Popular repositories Loading

  1. nmstate nmstate Public

    Nmstate is a library with an accompanying command line tool that manages host networking settings in a declarative manner.

    Rust 298 102

  2. kubernetes-nmstate kubernetes-nmstate Public

    Declarative node network configuration driven through Kubernetes API.

    Go 196 90

  3. nmpolicy nmpolicy Public

    Go 8 5

  4. nmstate-console-plugin nmstate-console-plugin Public archive

    Nmstate Console Plugin for kubernetes-nmstate operator

    TypeScript 4 15

  5. ansible-nmstate ansible-nmstate Public

    Ansible support for nmstate

    Python 2 3

  6. nmstate.github.io nmstate.github.io Public

    nmstate website and documentation repo:

    Shell 1 18

Repositories

Showing 8 of 8 repositories
  • nmstate Public

    Nmstate is a library with an accompanying command line tool that manages host networking settings in a declarative manner.

    nmstate/nmstate’s past year of commit activity
    Rust 298 Apache-2.0 102 72 (6 issues need help) 21 Updated Dec 18, 2024
  • kubernetes-nmstate Public

    Declarative node network configuration driven through Kubernetes API.

    nmstate/kubernetes-nmstate’s past year of commit activity
    Go 196 GPL-2.0 90 12 1 Updated Dec 2, 2024
  • nmstate-console-plugin Public archive

    Nmstate Console Plugin for kubernetes-nmstate operator

    nmstate/nmstate-console-plugin’s past year of commit activity
    TypeScript 4 Apache-2.0 15 0 0 Updated Nov 25, 2024
  • nmstate.github.io Public

    nmstate website and documentation repo:

    nmstate/nmstate.github.io’s past year of commit activity
    Shell 1 CC-BY-4.0 18 1 1 Updated Oct 15, 2024
  • kubernetes-go-api Public

    Structured golang api of nmstate for kubernetes with kubebuilder annotations for CRDs

    nmstate/kubernetes-go-api’s past year of commit activity
    Go 0 Apache-2.0 1 0 0 Updated Oct 4, 2024
  • .github Public
    nmstate/.github’s past year of commit activity
    0 2 1 1 Updated Apr 23, 2024
  • nmpolicy Public
    nmstate/nmpolicy’s past year of commit activity
    Go 8 Apache-2.0 5 12 2 Updated Jul 12, 2023
  • ansible-nmstate Public

    Ansible support for nmstate

    nmstate/ansible-nmstate’s past year of commit activity
    Python 2 GPL-3.0 3 1 1 Updated Dec 15, 2021

Top languages

Loading…

Most used topics

Loading…