diff --git a/doc/source/index.rst b/doc/source/index.rst index d40572a5..d290b9a0 100644 --- a/doc/source/index.rst +++ b/doc/source/index.rst @@ -87,3 +87,4 @@ Here's the same example but with ..code-block: ini to test the pygments lexer: configure_access_and_security_for_instances create_and_manage_databases create_and_manage_networks + launch-instance diff --git a/doc/source/launch-instance.rst b/doc/source/launch-instance.rst new file mode 100644 index 00000000..769801c4 --- /dev/null +++ b/doc/source/launch-instance.rst @@ -0,0 +1,89 @@ +================== +Launch an instance +================== + + +To access your instance remotely +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +1. Add rules to the ``default`` security group: + + a. Permit ``ICMP`` (ping): + + .. code-block:: console + + $ nova secgroup-add-rule default icmp -1 -1 0.0.0.0/0 + +-------------+-----------+---------+-----------+--------------+ + | IP Protocol | From Port | To Port | IP Range | Source Group | + +-------------+-----------+---------+-----------+--------------+ + | icmp | -1 | -1 | 0.0.0.0/0 | | + +-------------+-----------+---------+-----------+--------------+ + + b. Permit secure shell (SSH) access: + + .. code-block:: console + + $ nova secgroup-add-rule default tcp 22 22 0.0.0.0/0 + +-------------+-----------+---------+-----------+--------------+ + | IP Protocol | From Port | To Port | IP Range | Source Group | + +-------------+-----------+---------+-----------+--------------+ + | tcp | 22 | 22 | 0.0.0.0/0 | | + +-------------+-----------+---------+-----------+--------------+ + +2. Create a ``floating IP address`` on the ``ext-net`` external network: + + .. code-block:: console + + $ neutron floatingip-create ext-net + Created a new floatingip: + +---------------------+--------------------------------------+ + | Field | Value | + +---------------------+--------------------------------------+ + | fixed_ip_address | | + | floating_ip_address | 203.0.113.102 | + | floating_network_id | 9bce64a3-a963-4c05-bfcd-161f708042d1 | + | id | 05e36754-e7f3-46bb-9eaa-3521623b3722 | + | port_id | | + | router_id | | + | status | DOWN | + | tenant_id | 7cf50047f8df4824bc76c2fdf66d11ec | + +---------------------+--------------------------------------+ + + +Testing ordered lists and auto-numbering +---------------------------------------- + +#. Item 1 + + #. Item 1, Item 1 + #. Item 2, Item 1 + +#. Item 2 + + #. Item 2, Item 1 + + #. Item 2, Item 2 + + #. Item 2, Item 2, Item 1 + + #. Item 2, Item 2, Item 2 + + + +Testing ordered lists and auto-numbering w/ note directive +---------------------------------------------------------- + +.. note:: + + #. Item 1 + + #. Item 1, nested under 1 + + .. note:: + + #. Item 1, nested in note under Item 1 + #. Item 2, nested in note under Item 1 + + #. Item 2, nested under 1 + + #. Item 2 diff --git a/openstackdocstheme/theme/openstackdocs/static/css/styles.css b/openstackdocstheme/theme/openstackdocs/static/css/styles.css index 1377bc1b..d4f21f07 100644 --- a/openstackdocstheme/theme/openstackdocs/static/css/styles.css +++ b/openstackdocstheme/theme/openstackdocs/static/css/styles.css @@ -35,6 +35,10 @@ dd { margin-left: 20px } +ol.loweralpha { + list-style-type: lower-alpha; +} + .lead { font-size: 18px; font-weight: 400;