File: bond.xml

package info (click to toggle)
netcf 1%3A0.2.3-4.1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 6,416 kB
  • ctags: 3,925
  • sloc: ansic: 38,657; sh: 13,377; xml: 831; makefile: 219
file content (24 lines) | stat: -rw-r--r-- 815 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<!-- A sketch of how the ethernet-static.xml example would be
     turned into actual files.

     The XML notation is close to what would turn up in a Augeas tree -->

<forest>
  <tree path="/files/etc/network/interfaces">
    <array label="iface">
      <element key="bond0">
	<node label="family" value="inet"/>
	<node label="method" value="static"/>
	<node label="address" value="192.168.50.7"/>
	<node label="netmask" value="255.255.255.0"/>
	<node label="gateway" value="192.168.50.1"/>
        <node label="bond_slaves" value="eth1 eth0"/>
	<node label="bond_primary" value="eth1"/>
	<node label="bond_mode" value="active-backup"/>
	<node label="bond_miimon" value="100"/>
	<node label="bond_updelay" value="10"/>
	<node label="bond_use_carrier" value="0"/>
      </element>
    </array>
  </tree>
</forest>