summaryrefslogtreecommitdiffstats
path: root/recipes-example/virt-example/files/example-net.xml
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-example/virt-example/files/example-net.xml')
-rw-r--r--recipes-example/virt-example/files/example-net.xml39
1 files changed, 39 insertions, 0 deletions
diff --git a/recipes-example/virt-example/files/example-net.xml b/recipes-example/virt-example/files/example-net.xml
new file mode 100644
index 0000000..c8cbca7
--- /dev/null
+++ b/recipes-example/virt-example/files/example-net.xml
@@ -0,0 +1,39 @@
1<!--
2Copyright (c) 2014 by Enea Software AB
3All rights reserved.
4
5Redistribution and use in source and binary forms, with or without
6modification, are permitted provided that the following conditions are met:
7 * Redistributions of source code must retain the above copyright
8 notice, this list of conditions and the following disclaimer.
9 * Redistributions in binary form must reproduce the above copyright
10 notice, this list of conditions and the following disclaimer in the
11 documentation and/or other materials provided with the distribution.
12 * Neither the name of Enea Software AB nor the
13 names of its contributors may be used to endorse or promote products
14 derived from this software without specific prior written permission.
15
16THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
17ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
18WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
19DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
20ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
21(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
22LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
23ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
24(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
25SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26-->
27
28<network>
29 <name>virt-example-net</name>
30 <ip address='192.168.123.1' netmask='255.255.255.0'>
31 <tftp root='/usr/share/virt-example/pxe'/>
32 <dhcp>
33 <host mac="98:99:99:99:99:90" ip="192.168.123.2"/>
34 <range start='192.168.123.3' end='192.168.123.254'/>
35 <bootp file='pxelinux.0'/>
36 </dhcp>
37 </ip>
38</network>
39