/
swift-storage
24 lines (21 loc) · 905 Bytes
/
swift-storage
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#######DO NOT EDIT##########################
#######This file is managed by Puppet#######
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
auto <%= mgt_interface %>
iface <%= mgt_interface %> inet static
address <%= mgt_ip %>
netmask <%= mgt_mask %>
gateway <%= mgt_gateway %>
# dns-* options are implemented by the resolvconf package, if installed
dns-nameservers <%= dns_servers %>
dns-search <%= dns_search %>
# Swift Storage Node- Private Storage Network Interface
auto <%= vlan_interface %>.<%= storage_vlan %>
iface <%= vlan_interface %>.<%= storage_vlan %> inet static
vlan-raw-device <%= vlan_interface %>
address <%= storage_ip %>
netmask <%= storage_mask %>