summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2017-05-05 08:34:10 +0000
committerGerrit Code Review <review@openstack.org>2017-05-05 08:34:10 +0000
commit134df59fb1d8f482b562d072092f84028d963272 (patch)
tree02485c73457ea59fcafc7cb6da9fb50e16e06d24
parent619ffb02fe3902374fbb24e6afbeab01428d7945 (diff)
parentc1da3bab5d2fb44820f2e0c1c65e0a18172e53b5 (diff)
Merge "Add net creating in install-guide" into stable/ocata
-rw-r--r--install-guide/source/launch-instance.rst72
1 files changed, 72 insertions, 0 deletions
diff --git a/install-guide/source/launch-instance.rst b/install-guide/source/launch-instance.rst
index f1c86f3..ac1c162 100644
--- a/install-guide/source/launch-instance.rst
+++ b/install-guide/source/launch-instance.rst
@@ -8,6 +8,78 @@ service, you can provision container clusters made up of virtual machines
8or baremetal servers. Then, you can use the appropriate COE client or 8or baremetal servers. Then, you can use the appropriate COE client or
9endpoint to create containers. 9endpoint to create containers.
10 10
11Create an external network (Optional)
12-------------------------------------
13
14To create a magnum cluster, you need an external network. If there are no
15external networks, create one.
16
17#. Create an external network with an appropriate provider based on your
18 cloud provider support for your case:
19
20 .. code-block:: console
21
22 $ openstack network create public --provider-network-type vxlan \
23 --external \
24 --project service
25 +---------------------------+--------------------------------------+
26 | Field | Value |
27 +---------------------------+--------------------------------------+
28 | admin_state_up | UP |
29 | availability_zone_hints | |
30 | availability_zones | |
31 | created_at | 2017-03-27T10:09:04Z |
32 | description | |
33 | dns_domain | None |
34 | id | 372170ca-7d2e-48a2-8449-670e4ab66c23 |
35 | ipv4_address_scope | None |
36 | ipv6_address_scope | None |
37 | is_default | False |
38 | mtu | 1450 |
39 | name | public |
40 | port_security_enabled | True |
41 | project_id | 224c32c0dd2e49cbaadfd1cda069f149 |
42 | provider:network_type | vxlan |
43 | provider:physical_network | None |
44 | provider:segmentation_id | 3 |
45 | qos_policy_id | None |
46 | revision_number | 4 |
47 | router:external | External |
48 | segments | None |
49 | shared | False |
50 | status | ACTIVE |
51 | subnets | |
52 | updated_at | 2017-03-27T10:09:04Z |
53 +---------------------------+--------------------------------------+
54 $ openstack subnet create public-subnet --network public \
55 --subnet-range 192.168.1.0/24 \
56 --gateway 192.168.1.1 \
57 --ip-version 4
58 +-------------------+--------------------------------------+
59 | Field | Value |
60 +-------------------+--------------------------------------+
61 | allocation_pools | 192.168.1.2-192.168.1.254 |
62 | cidr | 192.168.1.0/24 |
63 | created_at | 2017-03-27T10:46:15Z |
64 | description | |
65 | dns_nameservers | |
66 | enable_dhcp | True |
67 | gateway_ip | 192.168.1.1 |
68 | host_routes | |
69 | id | 04185f6c-ea31-4109-b20b-fd7f935b3828 |
70 | ip_version | 4 |
71 | ipv6_address_mode | None |
72 | ipv6_ra_mode | None |
73 | name | public-subnet |
74 | network_id | 372170ca-7d2e-48a2-8449-670e4ab66c23 |
75 | project_id | d9e40a0aff30441083d9f279a0ff50de |
76 | revision_number | 2 |
77 | segment_id | None |
78 | service_types | |
79 | subnetpool_id | None |
80 | updated_at | 2017-03-27T10:46:15Z |
81 +-------------------+--------------------------------------+
82
11Provision a cluster and create a container 83Provision a cluster and create a container
12------------------------------------------ 84------------------------------------------
13 85