From ae18c829ee8945fb31bfcaf2e86d690faf2792e7 Mon Sep 17 00:00:00 2001 From: Thammarong Glomjai Date: Fri, 25 Sep 2026 16:27:56 +0700 Subject: [PATCH] Modernize docs site: PyData theme, task-based navigation, glossary - Switch from the Bootstrap 3 theme to pydata-sphinx-theme with dark mode, section sidebar, "On this page" TOC and edit button - Add section hubs (Get started, Install, Configure, Reference, Contribute) and a card-based landing page using sphinx-design; existing guide URLs are unchanged - Add an installation-method chooser with OpenStack/Kubernetes tabs and an upgrade-path table - Add a starter glossary (fixes the broken :ref:`glossary` in the style guide) - Add sphinx-copybutton and Open Graph metadata - Pin requirements: unpinned lfdocs-conf 0.11 no longer installs the bootstrap theme, so fresh builds failed - Remove the internal TODO from the landing page; copyright year is now generated Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01QFeCxXksSERUuY5ceUzS7o --- README.md | 15 ++ _static/custom.css | 58 +++++++ conf.py | 71 ++++++++- conf.yaml | 17 +- configure/index.rst | 41 +++++ contribute/index.rst | 44 ++++++ get-started/index.rst | 68 ++++++++ index.rst | 138 ++++++++-------- install/index.rst | 127 +++++++++++++++ .../index.rst | 4 + reference/glossary.rst | 147 ++++++++++++++++++ reference/index.rst | 36 +++++ release/getting-started/index.rst | 2 + release/index.rst | 36 +++-- requirements.txt | 10 +- 15 files changed, 730 insertions(+), 84 deletions(-) create mode 100644 _static/custom.css create mode 100644 configure/index.rst create mode 100644 contribute/index.rst create mode 100644 get-started/index.rst create mode 100644 install/index.rst create mode 100644 reference/glossary.rst create mode 100644 reference/index.rst diff --git a/README.md b/README.md index 4caaf23..1dcfa40 100644 --- a/README.md +++ b/README.md @@ -54,3 +54,18 @@ $ tox -e docs-dev -- -j 4 In case tox will report errors like ```module not found``` when that module was previously used then remove .tox folder and run tox again. + +## Site layout and theme + +The site uses the [PyData Sphinx Theme](https://pydata-sphinx-theme.readthedocs.io/) +with [sphinx-design](https://sphinx-design.readthedocs.io/) (cards, tabs, grids) +and [sphinx-copybutton](https://sphinx-copybutton.readthedocs.io/). + +* The hidden `toctree` at the bottom of `index.rst` defines the top navigation + bar. Each entry is one section; its pages appear in the left sidebar. +* Section landing pages live in `get-started/`, `install/`, `configure/`, + `reference/` and `contribute/`. Existing guides keep their original URLs. +* Brand colours and card styles are in `_static/custom.css`. +* Define new terms in `reference/glossary.rst` and link to them with + ``:term:`vRouter` ``. Prefer ``:ref:`label` `` or ``:doc:`path` `` over + hard-coded URLs for internal links so broken links fail the build. diff --git a/_static/custom.css b/_static/custom.css new file mode 100644 index 0000000..8392996 --- /dev/null +++ b/_static/custom.css @@ -0,0 +1,58 @@ +/* OpenSDN brand colours for the PyData Sphinx Theme. + Teal is taken from the OpenSDN cloud logo. */ +html[data-theme="light"] { + --pst-color-primary: #1f8a8c; + --pst-color-primary-bg: #e3f4f4; + --pst-color-secondary: #3b6fd8; + --pst-color-link: #1a7678; + --pst-color-link-hover: #0f5557; +} + +html[data-theme="dark"] { + --pst-color-primary: #5cc9cb; + --pst-color-primary-bg: #12393a; + --pst-color-secondary: #8fb0ff; + --pst-color-link: #6fd3d5; + --pst-color-link-hover: #a4e6e7; +} + +/* Announcement bar: calm, not alarming */ +.bd-header-announcement { + background-color: var(--pst-color-primary-bg); + color: var(--pst-color-text-base); +} +.bd-header-announcement a { color: var(--pst-color-link); } +.bd-header-announcement::after { display: none; } + +/* ---------- Landing page ---------- */ +.landing-hero { + padding: 2.5rem 0 1.5rem; +} +.landing-hero h1 { + font-size: 2.6rem; + font-weight: 700; + margin-bottom: 0.5rem; +} +.landing-hero p.lead { + font-size: 1.2rem; + max-width: 46rem; + color: var(--pst-color-text-muted); +} + +/* Cards: equal height, subtle lift on hover */ +.sd-card { + border-radius: 0.6rem; + transition: box-shadow 0.15s ease, transform 0.15s ease; +} +.sd-card:hover { + transform: translateY(-2px); + box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08); +} +.sd-card .sd-card-title { + font-weight: 600; +} +.sd-card .sd-card-title .sd-octicon, +.sd-card .sd-card-title svg { + color: var(--pst-color-primary); + margin-right: 0.35rem; +} diff --git a/conf.py b/conf.py index 551e3d3..e87894a 100644 --- a/conf.py +++ b/conf.py @@ -1,5 +1,70 @@ -from docs_conf.conf import * +from docs_conf.conf import * # noqa: F401,F403 (reads conf.yaml) -#extensions = ['recommonmark'] -html_sidebars = { '**': ['globaltoc.html', 'sourcelink.html', 'searchbox.html'] } +# --------------------------------------------------------------------------- +# Theme: PyData Sphinx Theme +# * top navbar = the sections listed in the root toctree (index.rst) +# * left sidebar = only the pages of the current section +# * right sidebar = "On this page" headings +# --------------------------------------------------------------------------- +html_title = "OpenSDN Documentation" +html_css_files = ["custom.css"] +# lfdocs-conf sets a Bootstrap-era sidebar list; let the theme decide instead. +html_sidebars = { + "index": [], # landing page is full width + "**": ["sidebar-nav-bs"], +} + +html_context = { + "github_user": "OpenSDN-io", + "github_repo": "docs", + "github_version": "master", + "doc_path": "", + "default_mode": "auto", # follow the reader's light/dark setting +} + +html_theme_options = { + "logo": {"text": "OpenSDN"}, + "header_links_before_dropdown": 7, + "navbar_align": "left", + "navbar_end": ["theme-switcher", "navbar-icon-links"], + "icon_links": [ + { + "name": "GitHub", + "url": "https://github.com/OpenSDN-io", + "icon": "fa-brands fa-github", + }, + { + "name": "Gerrit (code review)", + "url": "https://gerrit.opensdn.io", + "icon": "fa-solid fa-code-pull-request", + }, + { + "name": "Bug tracker", + "url": "https://plane.opensdn.io", + "icon": "fa-solid fa-bug", + }, + ], + "use_edit_page_button": True, + "show_toc_level": 2, + "navigation_depth": 3, + "collapse_navigation": False, + "show_prev_next": True, + "footer_start": ["copyright"], + "footer_end": ["sphinx-version"], + "announcement": ( + "OpenSDN was formerly known as Contrail, OpenContrail and Tungsten " + "Fabric. Older names still appear in some pages — see the " + 'glossary.' + ), +} + +# Copy button: strip shell prompts so pasted commands run as-is. +copybutton_prompt_text = r"\$ |# |>>> |\.\.\. " +copybutton_prompt_is_regexp = True + +# Link previews (Slack, Teams, social) +ogp_site_url = "https://docs.opensdn.io/" +ogp_site_name = "OpenSDN Documentation" +ogp_image = "https://docs.opensdn.io/_static/logo.png" +ogp_social_cards = {"enable": False} # needs matplotlib; enable later if wanted diff --git a/conf.yaml b/conf.yaml index 18bac0a..0ad9a24 100644 --- a/conf.yaml +++ b/conf.yaml @@ -3,9 +3,10 @@ project: OpenSDN release: master version: master author: OpenSDN -copyright: 2024, OpenSDN +# "{}" is replaced with the current year by lfdocs-conf +copyright: "{}, OpenSDN" -needs_sphinx: '1.6.5' +needs_sphinx: '7.0' extensions: - sphinx.ext.autodoc - sphinx.ext.doctest @@ -14,6 +15,9 @@ extensions: - sphinx.ext.todo - sphinx.ext.coverage - sphinx.ext.viewcode + - sphinx_design + - sphinx_copybutton + - sphinxext.opengraph exclude_patterns: - .DS_Store - _build @@ -21,15 +25,12 @@ exclude_patterns: - .tox - docsTools - .git + - README.md todo_include_todos: false html_favicon: _static/favicon.ico html_logo: _static/logo.png html_static_path: - _static -html_theme: bootstrap -html_theme_options: - bootswatch_theme: spacelab - navbar_sidebarrel: true - source_link_position: footer - globaltoc_depth: 3 +html_theme: pydata_sphinx_theme +# Theme options are set in conf.py (they need Python values). diff --git a/configure/index.rst b/configure/index.rst new file mode 100644 index 0000000..f73483d --- /dev/null +++ b/configure/index.rst @@ -0,0 +1,41 @@ +.. This work is licensed under the Creative Commons Attribution 4.0 International License. + +.. _configure: + +Configure +========= + +Task-oriented guides for configuring OpenSDN after it is installed. For how +the underlying components work, see :doc:`/opensdn-feature-architecture-guide/index`. + +.. grid:: 1 1 3 3 + :gutter: 3 + + .. grid-item-card:: :octicon:`shield-lock;1.2em` Networking & security + :link: /opensdn-networking-and-security-user-guide/index + :link-type: doc + + Virtual networks, next-hop limits and static routes for service + chaining. + + .. grid-item-card:: :octicon:`container;1.2em` Cloud-native (Kubernetes) + :link: /opensdn-cloud-native-user-guide/index + :link-type: doc + + Keystone in Kubernetes, flow stickiness, KubeVirt and dynamic + MAC/IP learning. + + .. grid-item-card:: :octicon:`globe;1.2em` Service-provider features + :link: /opensdn-service-provider-focused-features-guide/index + :link-type: doc + + Data-plane tuning, multihoming, remote compute, routing policy and + fast convergence. + +.. toctree:: + :hidden: + :maxdepth: 2 + + Networking & security <../opensdn-networking-and-security-user-guide/index> + Cloud-native (Kubernetes) <../opensdn-cloud-native-user-guide/index> + Service-provider features <../opensdn-service-provider-focused-features-guide/index> diff --git a/contribute/index.rst b/contribute/index.rst new file mode 100644 index 0000000..3dc0710 --- /dev/null +++ b/contribute/index.rst @@ -0,0 +1,44 @@ +.. This work is licensed under the Creative Commons Attribution 4.0 International License. + +.. _contribute: + +Contribute +========== + +OpenSDN is developed in the open. Code and documentation changes are +reviewed in `Gerrit `_; bugs are tracked in the +`OpenSDN Bug Tracker `_. + +.. grid:: 1 1 2 2 + :gutter: 3 + + .. grid-item-card:: :octicon:`people;1.2em` Contributing guide + :link: /contributing-to-opensdn/index + :link-type: doc + + Set up your environment, submit blueprints, code and tests, and get + them reviewed. + + .. grid-item-card:: :octicon:`pencil;1.2em` Writing documentation + :link: /contributing-to-opensdn/writing-style + :link-type: doc + + Writing style, word choice and RST conventions for these docs. + + .. grid-item-card:: :octicon:`workflow;1.2em` Infrastructure & CI + :link: /infrastructure/index + :link-type: doc + + How the OpenSDN CI/CD, Gerrit and related tooling are set up. + + .. grid-item-card:: :octicon:`bug;1.2em` Report a bug + :link: https://plane.opensdn.io + + Problems in OpenSDN or in this documentation. + +.. toctree:: + :hidden: + :maxdepth: 2 + + Contributing guide <../contributing-to-opensdn/index> + Infrastructure & CI <../infrastructure/index> diff --git a/get-started/index.rst b/get-started/index.rst new file mode 100644 index 0000000..44c3acf --- /dev/null +++ b/get-started/index.rst @@ -0,0 +1,68 @@ +.. This work is licensed under the Creative Commons Attribution 4.0 International License. + +.. _get-started: + +Get started +=========== + +OpenSDN adds a virtual network layer on top of any IP fabric. A central +:term:`control node` computes routes and policies, and a :term:`vRouter` on +every compute host forwards traffic between workloads. You manage it through +your orchestrator (OpenStack or Kubernetes) or directly through the +:term:`config node` REST API. + +.. seealso:: + + :doc:`/opensdn-feature-architecture-guide/understanding-opensdn` for a + full introduction, and :doc:`/opensdn-feature-architecture-guide/understanding-opensdn-components` + for how the components talk to each other. + +Choose a starting point +----------------------- + +.. grid:: 1 1 3 3 + :gutter: 3 + + .. grid-item-card:: :octicon:`beaker;1.2em` Try it out + :link: tf-devstack + :link-type: ref + + Bring up a small all-in-one environment with **tf-devstack** to + explore OpenSDN. + + +++ + Best for: evaluation, development + + .. grid-item-card:: :octicon:`server;1.2em` Lab deployment + :link: /release/getting-started/index + :link-type: doc + + Deploy a 3-node OpenStack + OpenSDN lab with the **Ansible + Deployer**, step by step. + + +++ + Best for: first multi-node setup + + .. grid-item-card:: :octicon:`package;1.2em` Production install + :link: /install/index + :link-type: doc + + Compare the supported installation methods and pick the one that + matches your platform. + + +++ + Best for: planning a real deployment + +Before you begin +---------------- + +* Check the :doc:`/opensdn-installation-and-upgrade-guide/hardware-reqs-vnc`. +* Read the :doc:`release notes ` for the version you plan to + install. +* Unfamiliar with a term? See the :ref:`glossary`. + +.. toctree:: + :hidden: + :maxdepth: 1 + + Lab deployment with Ansible Deployer <../release/getting-started/index> diff --git a/index.rst b/index.rst index 9bba5f5..95ebc33 100644 --- a/index.rst +++ b/index.rst @@ -1,85 +1,101 @@ -.. important:: +.. This work is licensed under the Creative Commons Attribution 4.0 International License. - 🚨 To report a bug for any part of the OpenSDN project, - including documentation, please use the `OpenSDN Bug Tracker`_. +:html_theme.sidebar_secondary.remove: true +.. rst-class:: landing-hero -Welcome to the OpenSDN Community! -========================================= +OpenSDN Documentation +===================== -OpenSDN (formerly known as Contrail/OpenContrail/Tungsten Fabric) is a secure software -defined networking project designed for the cloud native, multicloud -environment. Placing it on top of any IP network allows you to have a -single portal for defining, monitoring, and analyzing your entire -multicloud network, its security, and its performance. +.. rst-class:: lead -Using OpenSDN, you can write and deploy network and security -policies that are portable to any cloud environment. All of your clouds -can have a consistent and easily maintainable configuration. -Standardized policies will make your security team happy, too. +OpenSDN is an open source software-defined networking platform for +OpenStack and Kubernetes. Define virtual networks and security policies +once, and apply them consistently across every cloud you run. -.. warning:: - OpenSDN was formerly know as Contrail, OpenContrail, and Tungsten Fabric (TF). Please - treat this documentation with care. References to the above may still be in many - parts of the documentation. +.. grid:: 1 2 3 3 + :gutter: 3 + :margin: 4 4 0 0 -TODO ----- -. Get rid of marginal or rarely used features and configurations (e.g. OpenShift support) + .. grid-item-card:: :octicon:`rocket;1.2em` Get started + :link: get-started/index + :link-type: doc -Documentation -------------- + New to OpenSDN? Learn what it does and bring up a first lab + deployment. -Release Information -~~~~~~~~~~~~~~~~~~~ + .. grid-item-card:: :octicon:`package;1.2em` Install & upgrade + :link: install/index + :link-type: doc -.. toctree:: - :maxdepth: 1 - :titlesonly: + Pick the right installation method for OpenStack or Kubernetes, + then upgrade, back up and restore. - release/index.rst + .. grid-item-card:: :octicon:`stack;1.2em` Architecture & features + :link: opensdn-feature-architecture-guide/index + :link-type: doc -Core Architecture & Features -~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + How the control, config, analytics and vRouter components fit + together, and the features they provide. -.. toctree:: - :maxdepth: 1 - :titlesonly: + .. grid-item-card:: :octicon:`gear;1.2em` Configure + :link: configure/index + :link-type: doc - opensdn-feature-architecture-guide/index.rst - opensdn-cloud-native-user-guide/index.rst - opensdn-service-provider-focused-features-guide/index.rst - opensdn-networking-and-security-user-guide/index.rst - opensdn-operator/index.rst + Virtual networks, security, service chaining, cloud-native and + service-provider features. -OpenSDN Operations -~~~~~~~~~~~~~~~~~~ + .. grid-item-card:: :octicon:`pulse;1.2em` Operate & troubleshoot + :link: opensdn-monitoring-and-troubleshooting-guide/index + :link-type: doc -.. toctree:: - :maxdepth: 1 - :titlesonly: + Analytics, vRouter CLI utilities, packet capture and debugging + tools. - opensdn-installation-and-upgrade-guide/index.rst - opensdn-monitoring-and-troubleshooting-guide/index.rst + .. grid-item-card:: :octicon:`book;1.2em` Reference + :link: reference/index + :link-type: doc -OpenSDN Development -~~~~~~~~~~~~~~~~~~~ + Release notes and a glossary of OpenSDN terms and former project names. -.. toctree:: - :maxdepth: 1 - :titlesonly: +.. rubric:: Community + +.. grid:: 1 2 3 3 + :gutter: 3 + + .. grid-item-card:: :octicon:`git-pull-request;1.2em` Contribute + :link: contribute/index + :link-type: doc - contributing-to-opensdn/index.rst - infrastructure/index.rst + Submit code or documentation changes through Gerrit. -Licensing ---------- + .. grid-item-card:: :octicon:`bug;1.2em` Report a bug + :link: https://plane.opensdn.io -All documentation received to and made available by the OpenSDN -community, including but not limited to the documentation in this -repository, is licensed under the Creative Commons Attribution 4.0 -International License. + Found a problem in OpenSDN or in these docs? Use the bug tracker. -Please see the ``LICENSE`` file for complete information. + .. grid-item-card:: :octicon:`mark-github;1.2em` Source code + :link: https://github.com/OpenSDN-io -.. _OpenSDN Bug Tracker: https://plane.opensdn.io + Browse the OpenSDN repositories on GitHub. + +.. rubric:: License + +All documentation in this repository is licensed under the +`Creative Commons Attribution 4.0 International License +`_. + +.. The toctree below defines the top navigation bar. Each entry becomes one + tab; the pages under it appear in the left sidebar of that tab. + +.. toctree:: + :hidden: + :maxdepth: 2 + + Get started + Install + Architecture + Configure + Operate + Reference + Contribute diff --git a/install/index.rst b/install/index.rst new file mode 100644 index 0000000..0d64636 --- /dev/null +++ b/install/index.rst @@ -0,0 +1,127 @@ +.. This work is licensed under the Creative Commons Attribution 4.0 International License. + +.. _install: + +Install & upgrade +================= + +OpenSDN can be installed with several deployment tools. Start by picking the +orchestrator you run, then the tool that matches your platform. + +.. important:: + + Check the :doc:`/opensdn-installation-and-upgrade-guide/hardware-reqs-vnc` + before you start. + +Choose an installation method +----------------------------- + +.. tab-set:: + + .. tab-item:: OpenStack + :sync: openstack + + .. grid:: 1 1 2 2 + :gutter: 3 + + .. grid-item-card:: Ansible Deployer + :link: /release/getting-started/index + :link-type: doc + + Kolla-based OpenStack deployed with the OpenSDN Ansible + Deployer. + + .. grid-item-card:: Red Hat OpenStack Platform 16.1 + :link: /opensdn-installation-and-upgrade-guide/setting-up-opensdn-rhosp16-introduction + :link-type: doc + + RHOSP 16.1 with OpenStack Platform Director (TripleO): + infrastructure, undercloud, overcloud. + + .. grid-item-card:: Red Hat OpenStack Platform 13 + :link: /opensdn-installation-and-upgrade-guide/setting-up-opensdn-rhosp-introduction + :link-type: doc + + RHOSP 13 with OpenStack Platform Director (TripleO). + + .. grid-item-card:: Canonical OpenStack (Juju) + :link: /opensdn-installation-and-upgrade-guide/deploying-opensdn-using-juju-charms + :link-type: doc + + Canonical OpenStack deployed with Juju charms. + + .. tab-item:: Kubernetes + :sync: kubernetes + + .. grid:: 1 1 2 2 + :gutter: 3 + + .. grid-item-card:: OpenSDN Operator + :link: /opensdn-operator/deploying-opensdn-operator + :link-type: doc + + Deploy and manage OpenSDN with a Kubernetes operator. + + .. grid-item-card:: Juju charms + :link: /opensdn-installation-and-upgrade-guide/deploying-opensdn-using-juju-charms-kubernetes + :link-type: doc + + Charmed Kubernetes with OpenSDN as the CNI. + + .. grid-item-card:: Juju charms, nested mode + :link: /opensdn-installation-and-upgrade-guide/juju-charms-nested-kubernetes + :link-type: doc + + Kubernetes running inside OpenStack VMs, networked by the same + OpenSDN cluster. + + .. grid-item-card:: Ansible Deployer + :link: /opensdn-installation-and-upgrade-guide/provisioning-k8s-cluster + :link-type: doc + + Provision a standalone Kubernetes cluster together with + OpenSDN using the Ansible Deployer. + +Upgrade paths +------------- + +.. list-table:: + :header-rows: 1 + :widths: 35 65 + + * - Installed with + - Upgrade procedure + * - Ansible Deployer + - :doc:`Standard upgrade `, + :doc:`Zero Impact Upgrade `, + :doc:`In-place upgrade ` (legacy releases only) + * - Red Hat OpenStack Platform 13 + - :doc:`Zero Impact Upgrade `, + :doc:`Move to RHOSP 16.1 ` + * - Canonical OpenStack (Juju) + - :doc:`Zero Impact Upgrade ` + +After installation +------------------ + +.. grid:: 1 2 2 2 + :gutter: 2 + + .. grid-item-card:: Post-installation tasks + :link: post-install-tasks + :link-type: ref + + RBAC, BGP peering, MD5 authentication, TLS, graceful restart. + + .. grid-item-card:: Backup & restore + :link: /opensdn-installation-and-upgrade-guide/backup-using-json-50 + :link-type: doc + + Back up and restore the OpenSDN databases in JSON format. + +.. toctree:: + :hidden: + :maxdepth: 2 + + Installation and upgrade guide <../opensdn-installation-and-upgrade-guide/index> + OpenSDN Operator <../opensdn-operator/index> diff --git a/opensdn-installation-and-upgrade-guide/index.rst b/opensdn-installation-and-upgrade-guide/index.rst index e04c819..f30b722 100644 --- a/opensdn-installation-and-upgrade-guide/index.rst +++ b/opensdn-installation-and-upgrade-guide/index.rst @@ -65,6 +65,8 @@ Using OpenSDN with Juju Charms smartnic-vrouter-juju-charms +.. _post-install-tasks: + Post Installation Tasks ~~~~~~~~~~~~~~~~~~~~~~~ @@ -114,6 +116,8 @@ Post Installation Tasks upgrade-in-place +.. _upgrade-opensdn: + Upgrading OpenSDN ~~~~~~~~~~~~~~~~~~~~~~~~~ diff --git a/reference/glossary.rst b/reference/glossary.rst new file mode 100644 index 0000000..a1a0cca --- /dev/null +++ b/reference/glossary.rst @@ -0,0 +1,147 @@ +.. This work is licensed under the Creative Commons Attribution 4.0 International License. + +.. _glossary: + +Glossary +======== + +Terms used throughout the OpenSDN documentation. + +.. admonition:: For contributors + :class: tip + + Link to an entry from any page with ``:term:`vRouter```. This is a + starter glossary: definitions should be reviewed by maintainers, and a + term should be added whenever a page introduces a new acronym. + +Project names +------------- + +.. glossary:: + :sorted: + + OpenSDN + The current name of the project. Older pages may still say + :term:`Contrail`, :term:`OpenContrail` or :term:`Tungsten Fabric`; + unless a page states otherwise, treat those names as referring to + OpenSDN. + + Contrail + Juniper Networks' commercial SDN product. Much of this documentation + was originally written for Contrail, which is why command names, + container names and package names such as ``contrail-tools`` or + ``contrail-ansible-deployer`` still use this name. + + OpenContrail + The original open source release of the Contrail code base. + + Tungsten Fabric + The name OpenContrail took when the project moved to the Linux + Foundation. Abbreviated **TF**; many repositories still use the + ``tf-`` prefix (for example ``tf-devstack`` and ``tf-operator``). + +Components +---------- + +.. glossary:: + :sorted: + + control node + Computes the routing state of the virtual networks. It distributes + routes to :term:`vRouter agents ` over :term:`XMPP` + and exchanges routes with physical gateway routers over BGP. + + config node + Exposes the REST API (the :term:`VNC` API) used to create and change + OpenSDN objects such as virtual networks, policies and security + groups, and translates that high-level intent into the low-level + configuration used by the control node. + + analytics node + Collects state, statistics and debug information from all OpenSDN + components and makes it available for queries. See + :term:`UVE` and :term:`Sandesh`. + + vRouter + The forwarding element that runs on every compute host. It is made + of the :term:`vRouter agent` (control plane, user space) and the + vRouter forwarder (data plane, kernel module or :term:`DPDK` + process). + + vRouter agent + The user-space process on a compute host that receives routes and + policy from the :term:`control node` and programs the vRouter + forwarder. + +Protocols and interfaces +------------------------ + +.. glossary:: + :sorted: + + XMPP + Extensible Messaging and Presence Protocol. OpenSDN uses it between + the :term:`control node` and the :term:`vRouter agents `. + + VNC + Virtual Network Controller. Used in names such as the **VNC API**, + the REST API served by the :term:`config node`. + + Sandesh + The messaging format OpenSDN components use to send logs, traces + and statistics to the :term:`analytics node`. Each process also + serves Sandesh "introspect" pages over HTTP for debugging. + + UVE + User-Visible Entity. An object whose aggregated operational state the + :term:`analytics node` exposes, such as a virtual network or a + vRouter. + + BGPaaS + BGP as a Service. Lets a virtual machine or container run a BGP + session with OpenSDN to advertise its own routes. + + DPDK + Data Plane Development Kit. The vRouter forwarder can run as a DPDK + user-space process instead of a kernel module for higher packet + throughput. + +Networking concepts +------------------- + +.. glossary:: + :sorted: + + virtual network + An isolated layer 2/layer 3 network that workloads attach to. + OpenSDN implements it as an overlay on top of the physical IP + fabric. + + floating IP + An address from one virtual network (often a public one) that is + mapped to a workload interface in another virtual network. + + service chain + A sequence of network services, such as a firewall or load + balancer, that traffic between two virtual networks is steered + through. + +Procedures +---------- + +.. glossary:: + :sorted: + + ZIU + Zero Impact Upgrade. An upgrade procedure designed to upgrade + OpenSDN with minimal disruption to network operations. See + :ref:`upgrade-opensdn`. + + ISSU + In-Service Software Upgrade. An earlier upgrade procedure, documented + here for Red Hat OpenStack Platform 13. + + FFU + Fast Forward Upgrade. The Red Hat OpenStack Platform procedure for + upgrading across several OpenStack releases at once, used together + with ZIU when moving from RHOSP 13 to 16.1. diff --git a/reference/index.rst b/reference/index.rst new file mode 100644 index 0000000..e634f07 --- /dev/null +++ b/reference/index.rst @@ -0,0 +1,36 @@ +.. This work is licensed under the Creative Commons Attribution 4.0 International License. + +.. _reference: + +Reference +========= + +.. grid:: 1 1 2 2 + :gutter: 3 + + .. grid-item-card:: :octicon:`tag;1.2em` Release notes + :link: release-notes + :link-type: ref + + Features, supported platforms, known behavior and resolved issues + for each release. + + .. grid-item-card:: :octicon:`list-unordered;1.2em` Glossary + :link: glossary + :link-type: ref + + Definitions of OpenSDN components, protocols and procedures, and + the project's former names. + +.. note:: + + The REST API reference is currently published only as archives in the + ``api/`` folder of the + `docs repository `_. + +.. toctree:: + :hidden: + :maxdepth: 2 + + Release notes <../release/index> + glossary diff --git a/release/getting-started/index.rst b/release/getting-started/index.rst index 28e4a3d..a203fe0 100644 --- a/release/getting-started/index.rst +++ b/release/getting-started/index.rst @@ -269,6 +269,8 @@ Below are reference links related to further details of features and use cases. * Ubuntu: https://www.ubuntu.com/ * Contrail Feature Guide: https://www.juniper.net/documentation/en_US/contrail5.0/information-products/pathway-pages/contrail-feature-guide-pwp.html +.. _tf-devstack: + ============================================== Getting Started with `tf-devstack` ============================================== diff --git a/release/index.rst b/release/index.rst index bd62195..ea2a27b 100644 --- a/release/index.rst +++ b/release/index.rst @@ -1,22 +1,36 @@ -Release Documentation -===================== +.. _release-notes: -The documentation covers details around the Tungsten Fabric quick start guides, as well as releases notes. +Release notes +============= +Release notes for each OpenSDN release, and for the earlier Tungsten Fabric +releases it is based on. Each release lists new features, supported +platforms, known behavior, resolved issues and deprecated items. -Getting Started ---------------- -.. toctree:: - :maxdepth: 2 - :titlesonly: +.. tip:: - getting-started/index.rst + Looking for installation steps? The quick-start guide has moved to + :ref:`get-started`. +.. list-table:: + :header-rows: 1 + :widths: 25 75 -Releases --------- + * - Release + - Notes + * - R21.12 + - :doc:`releases/R21.12/index` + * - R21.05 + - :doc:`releases/R21.05/index` + * - 5.1 + - :doc:`releases/r5.1/index` + * - 5.0.1 + - :doc:`releases/r5.0.1/index` + * - 5.0 + - :doc:`releases/r5.0/index` .. toctree:: + :hidden: :maxdepth: 2 :titlesonly: diff --git a/requirements.txt b/requirements.txt index 74a3b7a..0192353 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1 +1,9 @@ -lfdocs-conf +# Pinned to known-good ranges so a fresh build does not break when an +# upstream package changes its defaults (lfdocs-conf 0.11 dropped the +# bootstrap theme dependency, which broke unpinned builds). +lfdocs-conf>=0.11,<0.12 +sphinx>=8,<10 +pydata-sphinx-theme>=0.16,<0.22 +sphinx-design>=0.6,<0.8 +sphinx-copybutton>=0.5,<0.6 +sphinxext-opengraph>=0.9,<0.14