Skip to content
@sdcio

SDCIO

Schema Driven Configuration

Schema Driven Configuration (SDCIO)

The paradigm of schema-driven API approaches is gaining increasing popularity as it facilitates programmatic interaction with systems by both machines and humans. While OpenAPI schema stands out as a widely embraced system, there are other notable schema approaches like YANG, among others. This project endeavors to empower users with a declarative and idempotent method for seamless interaction with API systems, providing a robust foundation for effective system configuration."

Architecture

The project consists of 4 components:

pic

Schema-server

The schema server component is a versatile repository for schemas from diverse vendors and versions. It features a GRPC API for seamless schema querying and dynamic management, allowing users to load and unload schemas in real time. The integration of a CLI enhances user interaction, providing a familiar command-line interface. Operating in a stateless architecture, it offers scalability, while optional schema persistence caters to users requiring persistent storage. In essence, the schema server combines flexibility, efficiency, and user-friendliness for effective schema management in dynamic API environments. Schema-server is developer in the schema-server repository.

Data-server

The data-server component serves as a versatile intermediary, connecting the config-server, schema-server, cache, and xNF/Device in a stateless design for scalability. It features a North-bound API for both imperative and declarative interactions and supports various South-bound protocols. With dedicated DataStores per target, flexible synchronization options, candidate-based interactions, and the ability to connect multiple data servers per device, it provides a resilient and adaptable foundation for managing and synchronizing data in dynamic system environments. The Data-server is developed in the data-server repository.

Cache

The cache component manages multiple datastores, including Config, State, and Intended, along with Intent metadata. It offers the option for persistent data storage, complemented by a GRPC API for seamless interaction. Additionally, the cache component provides a derived Command Line Interface (CLI) for user-friendly access and configuration. The Cache is developed in the cache repository.

Config-server

The config-server is a Kubernetes-based Operator and comprises of several controllers:

  • Schema Controller: Manages the lifecycle of schemas using Schema Custom Resources (CR).
  • Discovery Controller: Manages the lifecycle of targets through DiscoveryRule CR, discovering devices/NF(s)
  • Target Controller: Manages the lifecycle of Target DataStores using Target CR.
  • Config API Server: Manages the lifecycle of Config resources.
    • Utilizes its storage backend (not etcd).
    • Interacts declaratively with the data-server through Intent transactions.
    • Implements validation checks, rejecting configurations that fail validation. The Config-server is developed in the config-server repository.

Additional repositories

A YANG parser.

Home of the code of the project homepage.

Features

  • Schema's: YANG, others TBD
  • Targets: Physical devices (PNF), Containers (CNF), Virtual Machines (VNF) and Dummy test target (NOOP)
  • Vendor agnostic
  • Flexible deployments: Small, medium or large scale scaled out deployments
  • Target Protocols: gNMI, Netconf
  • Full Config or Config Snippets
  • Declarative Operation

License and governance

Code in the SDCIO public repositories licensed with Apache License 2.0. At the moment the project is governed by the benevolent dictatorship of @henderiw @steiler @karimra and @hansthienpondt On the long run we plan to move to a meritocracy based governance model.

Presentations

Presentations about SDCIO:

Join us

Have questions, ideas, bug reports or just want to chat? Come join our discord server.

Popular repositories Loading

  1. docs docs Public

    Documentation for Schema Driven Configuration

    Python 15 4

  2. data-server data-server Public

    Go 4

  3. config-server config-server Public

    Go 4

  4. yang-parser yang-parser Public

    Go 3

  5. schema-server schema-server Public

    Go 2 1

  6. cache cache Public

    Go 2

Repositories

Showing 10 of 11 repositories
  • sdcio/config-server’s past year of commit activity
    Go 4 Apache-2.0 0 12 8 Updated Jul 12, 2024
  • cache Public
    sdcio/cache’s past year of commit activity
    Go 2 Apache-2.0 0 6 6 Updated Jul 8, 2024
  • sdcio/schema-server’s past year of commit activity
    Go 2 Apache-2.0 1 7 7 Updated Jul 8, 2024
  • sdctl Public
    sdcio/sdctl’s past year of commit activity
    Go 1 Apache-2.0 0 1 6 Updated Jul 8, 2024
  • docs Public

    Documentation for Schema Driven Configuration

    sdcio/docs’s past year of commit activity
    Python 15 Apache-2.0 4 4 0 Updated Jul 2, 2024
  • sdcio/sdc-protos’s past year of commit activity
    Shell 1 Apache-2.0 0 0 4 Updated Jun 25, 2024
  • sdcio/data-server’s past year of commit activity
    Go 4 Apache-2.0 0 25 7 Updated Jun 25, 2024
  • sdcio/sdcio-demo’s past year of commit activity
    Go 0 0 0 0 Updated May 29, 2024
  • yang Public
    sdcio/yang’s past year of commit activity
    Jinja 0 0 0 0 Updated May 24, 2024
  • .github Public
    sdcio/.github’s past year of commit activity
    0 Apache-2.0 1 0 0 Updated May 24, 2024

People

This organization has no public members. You must be a member to see who’s a part of this organization.

Top languages

Loading…

Most used topics

Loading…