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 269 94

  2. kubernetes-nmstate kubernetes-nmstate Public

    Declarative node network configuration driven through Kubernetes API.

    Go 169 83

  3. nmpolicy nmpolicy Public

    Go 7 5

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

    Nmstate Console Plugin for kubernetes-nmstate operator

    TypeScript 4 9

  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 269 Apache-2.0 94 65 (8 issues need help) 10 Updated Jun 28, 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 Jun 24, 2024
  • nmstate-console-plugin Public

    Nmstate Console Plugin for kubernetes-nmstate operator

    nmstate/nmstate-console-plugin’s past year of commit activity
    TypeScript 4 Apache-2.0 9 0 0 Updated Jun 21, 2024
  • kubernetes-nmstate Public

    Declarative node network configuration driven through Kubernetes API.

    nmstate/kubernetes-nmstate’s past year of commit activity
    Go 169 GPL-2.0 83 20 4 Updated Jun 18, 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
    0 Apache-2.0 1 0 1 Updated May 16, 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 7 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…