blob: 023f798f5bd8730fe7eec621532198d56395307c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
|
<?xml version="1.0" encoding="ISO-8859-1"?>
<appendix id="appendix_one_cmc">
<title>How to create a 128T cloud-init iso image (day-0
configuration)</title>
<para><emphasis role="bold">Prerequisites:</emphasis><itemizedlist>
<listitem>
<para>Development host with Linux shell.</para>
</listitem>
<listitem>
<para><literal>genisoimage</literal> tool installed.</para>
</listitem>
</itemizedlist></para>
<para>Unpack the <filename>128T/128t-cloud-init-example.tar.gz</filename>
archive and check the README file for more details:</para>
<programlisting>>tar -zxf 128t-cloud-init-example.tar.gz
>cd 128T/cloud-init-example/
>ls ./
README
user-data
meta-data
t128-running.xml</programlisting>
<para>To generate the cloud-init iso image:</para>
<programlisting>>genisoimage -output centos_128t_ci.iso -volid cidata -joliet \
-rock user-data meta-data t128-running.xml </programlisting>
<para><emphasis role="bold">Notes: </emphasis><itemizedlist>
<listitem>
<para><literal>user-data</literal> and <literal>meta-data</literal>
files must be kept unchanged.</para>
</listitem>
<listitem>
<para>To update the 128T configuration change the
<literal>t128-runing.xml</literal> file.</para>
</listitem>
<listitem>
<para>XML is the same file downloaded from 128T web access:
<literal>configuration -> Import and Export Configuration ->
Export Configuration -> Download Configuration</literal>. The
configuration can be updated from a web interface, downloaded onto the
development host and used in generating a new cloud-init iso
image.</para>
</listitem>
</itemizedlist></para>
<para>By default, <literal>t128-running.xml</literal> is configured to pass
all traffic from the LAN to the WAN interface. There is only one change
required for the 128T VNF to work on the user's network:</para>
<programlisting><rt:next-hop>172.24.15.254</rt:next-hop></programlisting>
<para>Please change <172.24.15.254> with the IP address of your
Gateway in the <filename>t128-running.xml</filename> file and generate a new
iso image as described above. For more details about configuring the 128T
VNF please contact 128 Technologies.</para>
</appendix>
|