Skip to content

Commit

Permalink
doc: cleanup the structure a bit
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Hopps <[email protected]>
  • Loading branch information
choppsv1 committed Jan 27, 2024
1 parent e2a9eb9 commit cdfff3e
Show file tree
Hide file tree
Showing 13 changed files with 64 additions and 57 deletions.
8 changes: 8 additions & 0 deletions doc/developer/northbound/advanced-topics.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
Advanced Topics
===============

.. contents:: Table of contents
:local:
:backlinks: entry
:depth: 1

Auto-generated CLI commands
~~~~~~~~~~~~~~~~~~~~~~~~~~~

Expand Down
3 changes: 3 additions & 0 deletions doc/developer/northbound/architecture.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
Architecture
============

Introduction
------------

Expand Down
3 changes: 3 additions & 0 deletions doc/developer/northbound/demos.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
Demos
=====

Transactional CLI
-----------------

Expand Down
3 changes: 3 additions & 0 deletions doc/developer/northbound/links.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
Links
=====

RFCs
~~~~

Expand Down
2 changes: 1 addition & 1 deletion doc/developer/northbound/northbound.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ Northbound API
transactional-cli
retrofitting-configuration-commands
operational-data-rpcs-and-notifications
plugins-sysrepo
advanced-topics
yang-tools
yang-module-translator
demos
links
plugins-sysrepo
ppr-basic-test-topology
ppr-mpls-basic-test-topology
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
Operational Data, RPCs and Notifications
========================================

.. contents:: Table of contents
:local:
:backlinks: entry
:depth: 1

Operational data
~~~~~~~~~~~~~~~~

Expand Down
3 changes: 3 additions & 0 deletions doc/developer/northbound/plugins-sysrepo.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
Plugins Sysrepo (old)
=====================

Installation
------------

Expand Down
17 changes: 6 additions & 11 deletions doc/developer/northbound/ppr-basic-test-topology.rst
Original file line number Diff line number Diff line change
@@ -1,15 +1,10 @@
Table of Contents
~~~~~~~~~~~~~~~~~
IS-IS PPR Basic
===============

- `Software <#software>`__
- `Topology <#topology>`__
- `Configuration <#configuration>`__

- `CLI <#configuration-cli>`__
- `YANG <#configuration-yang>`__

- `Verification - Control Plane <#verification-cplane>`__
- `Verification - Forwarding Plane <#verification-fplane>`__
.. contents:: Table of contents
:local:
:backlinks: entry
:depth: 2

Software
~~~~~~~~
Expand Down
17 changes: 6 additions & 11 deletions doc/developer/northbound/ppr-mpls-basic-test-topology.rst
Original file line number Diff line number Diff line change
@@ -1,15 +1,10 @@
Table of Contents
~~~~~~~~~~~~~~~~~
IS-IS PPR Basic MPLS
====================

- `Software <#software>`__
- `Topology <#topology>`__
- `Configuration <#configuration>`__

- `CLI <#configuration-cli>`__
- `YANG <#configuration-yang>`__

- `Verification - Control Plane <#verification-cplane>`__
- `Verification - Forwarding Plane <#verification-fplane>`__
.. contents:: Table of contents
:local:
:backlinks: entry
:depth: 2

Software
~~~~~~~~
Expand Down
13 changes: 9 additions & 4 deletions doc/developer/northbound/retrofitting-configuration-commands.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,22 @@
.. _nb-retrofit:

Retrofitting Configuration Commands
-----------------------------------
===================================

.. contents:: Table of contents
:local:
:backlinks: entry
:depth: 2

Retrofitting process
--------------------

This page explains how to convert existing CLI configuration commands to
the new northbound model. This documentation is meant to be the primary
reference for developers working on the northbound retrofitting process.
We’ll show several examples taken from the ripd northbound conversion to
illustrate some concepts described herein.

Retrofitting process
--------------------

Step 1: writing a YANG module
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Expand Down
29 changes: 7 additions & 22 deletions doc/developer/northbound/transactional-cli.rst
Original file line number Diff line number Diff line change
@@ -1,25 +1,10 @@
Table of Contents
-----------------

- `Introduction <#introduction>`__
- `Configuration modes <#config-modes>`__
- `New commands <#retrofitting-process>`__

- `commit check <#cmd1>`__
- `commit <#cmd2>`__
- `discard <#cmd3>`__
- `configuration database max-transactions <#cmd4>`__
- `configuration load <#cmd5>`__
- `rollback configuration <#cmd6>`__
- `show configuration candidate <#cmd7>`__
- `show configuration compare <#cmd8>`__
- `show configuration running <#cmd9>`__
- `show configuration transaction <#cmd10>`__
- `show yang module <#cmd11>`__
- `show yang module-translator <#cmd12>`__
- `update <#cmd13>`__
- `yang module-translator load <#cmd14>`__
- `yang module-translator unload <#cmd15>`__
Transactional CLI
=================

.. contents:: Table of contents
:local:
:backlinks: entry
:depth: 1

Introduction
~~~~~~~~~~~~
Expand Down
13 changes: 6 additions & 7 deletions doc/developer/northbound/yang-module-translator.rst
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
Table of Contents
-----------------
YANG Module Translation
=======================

- `Introduction <#introduction>`__
- `Deviation Modules <#deviation-modules>`__
- `Translation Tables <#translation-tables>`__
- `CLI Demonstration <#cli-demonstration>`__
- `Implementation Details <#implementation-details>`__
.. contents:: Table of contents
:local:
:backlinks: entry
:depth: 1

Introduction
------------
Expand Down
2 changes: 1 addition & 1 deletion doc/developer/northbound/yang-tools.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Yang Tools
~~~~~~~~~~
==========

Here's some information about various tools for working with yang
models.
Expand Down

0 comments on commit cdfff3e

Please sign in to comment.