doc8 all documentation and fix doc style
Add doc8 to `tox -edocs` command. doc8 will check syntax/style check rst documents and fail if not compliant. Change-Id: Id2e9ed1f96cac27dc5e38f828fd2d824dad31c49
This commit is contained in:
@@ -179,7 +179,7 @@ Proposed Changes
|
||||
flannel, weave, calico, midonet, netplugin, etc..
|
||||
|
||||
Here is an example of creating a baymodel that uses Flannel as the
|
||||
Libnetwork driver:
|
||||
Libnetwork driver: ::
|
||||
|
||||
magnum baymodel-create --name k8sbaymodel \
|
||||
--image-id fedora-21-atomic-3 \
|
||||
@@ -205,7 +205,7 @@ Proposed Changes
|
||||
named "labels" for supplying driver-specific configuration parameters.
|
||||
Labels consist of one or more arbitrary key/value pairs. Here is an
|
||||
example of using labels to change default settings of the Flannel
|
||||
Libnetwork driver:
|
||||
Libnetwork driver: ::
|
||||
|
||||
magnum baymodel-create --name k8sbaymodel \
|
||||
--image-id fedora-21-atomic-3 \
|
||||
@@ -307,29 +307,29 @@ Data Model Impact
|
||||
|
||||
This document adds the labels and libnetwork-driver attribute to the baymodel
|
||||
database table. A migration script will be provided to support the attribute
|
||||
being added.
|
||||
being added. ::
|
||||
|
||||
+-------------------+-----------------+---------------------------------------------+
|
||||
| Attribute | Type | Description |
|
||||
+===================+=================+=============================================+
|
||||
| labels | JSONEncodedDict | One or more arbitrary key/value pairs |
|
||||
+-------------------+-----------------+---------------------------------------------+
|
||||
| libnetwork-driver | string | Container networking backend implementation |
|
||||
+-------------------+-----------------+---------------------------------------------+
|
||||
+-------------------+-----------------+---------------------------------------------+
|
||||
| Attribute | Type | Description |
|
||||
+===================+=================+=============================================+
|
||||
| labels | JSONEncodedDict | One or more arbitrary key/value pairs |
|
||||
+-------------------+-----------------+---------------------------------------------+
|
||||
| libnetwork-driver | string | Container networking backend implementation |
|
||||
+-------------------+-----------------+---------------------------------------------+
|
||||
|
||||
REST API Impact
|
||||
---------------
|
||||
|
||||
This document adds the labels and libnetwork-driver attribute to the BayModel
|
||||
API class.
|
||||
API class. ::
|
||||
|
||||
+-------------------+-----------------+---------------------------------------------+
|
||||
| Attribute | Type | Description |
|
||||
+===================+=================+=============================================+
|
||||
| labels | JSONEncodedDict | One or more arbitrary key/value pairs |
|
||||
+-------------------+-----------------+---------------------------------------------+
|
||||
| libnetwork-driver | string | Container networking backend implementation |
|
||||
+-------------------+-----------------+---------------------------------------------+
|
||||
+-------------------+-----------------+---------------------------------------------+
|
||||
| Attribute | Type | Description |
|
||||
+===================+=================+=============================================+
|
||||
| labels | JSONEncodedDict | One or more arbitrary key/value pairs |
|
||||
+-------------------+-----------------+---------------------------------------------+
|
||||
| libnetwork-driver | string | Container networking backend implementation |
|
||||
+-------------------+-----------------+---------------------------------------------+
|
||||
|
||||
Security Impact
|
||||
---------------
|
||||
|
||||
@@ -12,11 +12,11 @@ Launchpad blueprint:
|
||||
|
||||
https://blueprints.launchpad.net/magnum/+spec/magnum-horizon-plugin
|
||||
|
||||
Currently there is no way for a user to interact with Magnum through a web based
|
||||
user interface, as they are used to doing with other OpenStack components. This
|
||||
implementation aims to introduce this interface as an extension of Horizon (the
|
||||
OpenStack Dashboard) and expose all the features of Magnum in a way familiar to
|
||||
users.
|
||||
Currently there is no way for a user to interact with Magnum through a web
|
||||
based user interface, as they are used to doing with other OpenStack
|
||||
components. This implementation aims to introduce this interface as an
|
||||
extension of Horizon (the OpenStack Dashboard) and expose all the features of
|
||||
Magnum in a way familiar to users.
|
||||
|
||||
Problem description
|
||||
===================
|
||||
@@ -39,9 +39,9 @@ Use Cases
|
||||
Proposed change
|
||||
===============
|
||||
|
||||
The first step will be to extend the Horizon API to include CRUD operations that
|
||||
are needed to interact with Magnum. Assuming that there are no issues here and
|
||||
API changes/additions are not required to Magnum, we can begin to
|
||||
The first step will be to extend the Horizon API to include CRUD operations
|
||||
that are needed to interact with Magnum. Assuming that there are no issues here
|
||||
and API changes/additions are not required to Magnum, we can begin to
|
||||
design/implement the interface. We will aim to minimize the amount of Magnum
|
||||
specific UI code that will need to be maintained by reusing components from
|
||||
Horizon. This will also speed up the development significantly.
|
||||
@@ -50,11 +50,11 @@ It is suggested the initial implementation of Magnum UI will include basic CRUD
|
||||
operations on BayModel and Bay resources. This will be the starting point for
|
||||
development and upon completion this will represent version 1.
|
||||
|
||||
Future direction includes adding CRUD operations for other Magnum features (Pod,
|
||||
Container, Service, ReplicationController) and will be tracked by new blueprints
|
||||
as they represent significant additional effort. The ultimate goal, a user
|
||||
should be able to perform all normal interactions with Magnum through the UI
|
||||
with no need for interaction with the python client.
|
||||
Future direction includes adding CRUD operations for other Magnum features
|
||||
(Pod, Container, Service, ReplicationController) and will be tracked by new
|
||||
blueprints as they represent significant additional effort. The ultimate goal,
|
||||
a user should be able to perform all normal interactions with Magnum through
|
||||
the UI with no need for interaction with the python client.
|
||||
|
||||
Suggestions for further improvement include visualising Magnum resources to
|
||||
provide a quick overview of how resources are deployed.
|
||||
|
||||
Reference in New Issue
Block a user