summaryrefslogtreecommitdiffstats
path: root/book-enea-nfv-core-installation-guide/doc/post_deploy_scripts.xml
diff options
context:
space:
mode:
Diffstat (limited to 'book-enea-nfv-core-installation-guide/doc/post_deploy_scripts.xml')
-rw-r--r--book-enea-nfv-core-installation-guide/doc/post_deploy_scripts.xml37
1 files changed, 21 insertions, 16 deletions
diff --git a/book-enea-nfv-core-installation-guide/doc/post_deploy_scripts.xml b/book-enea-nfv-core-installation-guide/doc/post_deploy_scripts.xml
index c4668e4..19a05d9 100644
--- a/book-enea-nfv-core-installation-guide/doc/post_deploy_scripts.xml
+++ b/book-enea-nfv-core-installation-guide/doc/post_deploy_scripts.xml
@@ -5,8 +5,8 @@
5 <title>Post Deploy Scripts</title> 5 <title>Post Deploy Scripts</title>
6 6
7 <para>The Post Deploy Scripts is a collection of ENEA specific software that 7 <para>The Post Deploy Scripts is a collection of ENEA specific software that
8 can be used to easily modify existing environments. These projects can be 8 can be used to easily modify existing environments. These scripts can be
9 used in many situations, from installing new components to configuring 9 used in various situations, from installing new components to configuring
10 existing ones in a fast and efficient way. They are located on the Fuel 10 existing ones in a fast and efficient way. They are located on the Fuel
11 Master in <literal>/opt/enea/postdeployscripts/</literal>.</para> 11 Master in <literal>/opt/enea/postdeployscripts/</literal>.</para>
12 12
@@ -28,7 +28,7 @@
28 <para>Provider networks only handle layer-2 connectivity for instances, 28 <para>Provider networks only handle layer-2 connectivity for instances,
29 lacking support for features such as routers and floating IP addresses. 29 lacking support for features such as routers and floating IP addresses.
30 Please refer to the <ulink 30 Please refer to the <ulink
31 url="https://docs.openstack.org/ocata/install-guide-ubuntu/launch-instance-networks-provider.html">Openstack 31 url="https://docs.openstack.org/ocata/install-guide-ubuntu/launch-instance-networks-provider.html">OpenStack
32 documentation</ulink> for examples on using provider networks.</para> 32 documentation</ulink> for examples on using provider networks.</para>
33 </note> 33 </note>
34 34
@@ -82,7 +82,7 @@
82./init.sh</programlisting></para> 82./init.sh</programlisting></para>
83 83
84 <para>This will create a hosts file that will be used by Ansible to 84 <para>This will create a hosts file that will be used by Ansible to
85 associate the nodes into groups and to access them. </para> 85 associate the nodes into groups and to access them.</para>
86 86
87 <para>It will also create a file named 87 <para>It will also create a file named
88 <filename>samplenetworks.json</filename>, which will contain a single 88 <filename>samplenetworks.json</filename>, which will contain a single
@@ -125,31 +125,36 @@
125 some interfaces included:<programlisting> { 125 some interfaces included:<programlisting> {
126 "networks":[ 126 "networks":[
127 { 127 {
128 "name":"prov-net", 128 "allocation-pool": {
129 "nodes":[ 129 "end": "192.168.200.100",
130 "start": "192.168.200.20"
131 },
132 "enable-dhcp": "True",
133 "gateway": "192.168.200.1",
134 "name": "prov-net1",
135 "network-type": "vlan",
136 "nodes":[
130 { 137 {
131 "name":"node-4", 138 "interfaces": ["em5p144s0"],
132 "interfaces":[ 139 "name": "node-4"
133 "em2p1s0f5"
134 ] 140 ]
135 }, 141 },
136 { 142 {
137 "name":"node-5", 143 "interfaces": ["em5p144s0"],
138 "interfaces":[ 144 "name": "node-5"
139 "em2p1s0f5"
140 ]
141 } 145 }
142 ] 146 ],
147 "provider-segment": "2251",
148 "range": "192.168.200.0/24"
143 } 149 }
144 ] 150 ]
145 } 151 }
146
147 cp samplenetworks.json /opt/enea/postdeployscripts/provider-net/files/networks.json</programlisting>The 152 cp samplenetworks.json /opt/enea/postdeployscripts/provider-net/files/networks.json</programlisting>The
148 snippet shown above infers the following:</para> 153 snippet shown above infers the following:</para>
149 154
150 <itemizedlist> 155 <itemizedlist>
151 <listitem> 156 <listitem>
152 <para>An Openstack provider network called 157 <para>An OpenStack provider network called
153 <filename>prov-net</filename> will be created.</para> 158 <filename>prov-net</filename> will be created.</para>
154 </listitem> 159 </listitem>
155 160