tree: 1a546403bc4c8ca329a688647bd26dfb9be64369 [path history] [tgz]
  1. .gitignore
  2. Makefile
  3. README.md
  4. SUMMARY.md
  5. Service.png
  6. ServiceChain.png
  7. book.json
  8. contribute_docs.md
  9. core_models.md
  10. dev/
  11. install.md
  12. intro.md
  13. mdl_relaxed.rb
  14. mdl_strict.rb
  15. migrate_4.0.md
  16. modeling_conventions.md
  17. modules/
  18. overview.md
  19. scripts/
  20. security_policies.md
  21. static/
  22. swagger/
  23. tutorials/
  24. use.md
  25. venv-xosdocs.sh
  26. vtn-xos.jpeg
  27. xos_internals.md
  28. xos_vtn.md
docs/README.md

Writing Models and Synchronizers

CORD adopts a model-based design, which is to say all aspects of operating and managing CORD is mediated by a model-based control plane. XOS is a tool that CORD uses to implement this control plane. For an overview of XOS, see the following white paper: XOS: Modeling-as-a-Service.

XOS has three inter-related aspects, and this section is organized accordingly.

  • Modeling Framework: XOS defines a modeling framework, which includes both a modeling language (xproto) and a generative toolchain (xosgenx). The abstractions that define CORD's behavior are expressed in xproto, with xosgenx then used to generate code for several elements required to control CORD (including an API that serves the set of models that have been loaded into XOS). Service developers typically write one or more models to on-board their service.

  • Synchronizer Framework: XOS defines a synchronization framework that actuates the CORD data model. This framework is reponsible for driving the underlying components configured into CORD (for example, services, access devices) towards the desired state. Service developers typically write a synchronizer to on-board their services.

  • Core Models and Policies: The CORD platform is defined by a core set of xproto models, plus a set of security policies that govern how various principals can act on those models in a multi-tenant environment. Platform developers typically define and evolve the core models and policies, which effectively establishes the foundation on which all services run and are interconnected into service graphs.