summaryrefslogtreecommitdiffstats
path: root/config/network.yml
blob: 46ac87c200a28d952f5ea6e51ac5ee088c4ea478 (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
64
65
66
67
68

@media only all and (prefers-color-scheme: dark) {
.highlight .hll { background-color: #49483e }
.highlight .c { color: #75715e } /* Comment */
.highlight .err { color: #960050; background-color: #1e0010 } /* Error */
.highlight .k { color: #66d9ef } /* Keyword */
.highlight .l { color: #ae81ff } /* Literal */
.highlight .n { color: #f8f8f2 } /* Name */
.highlight .o { color: #f92672 } /* Operator */
.highlight .p { color: #f8f8f2 } /* Punctuation */
.highlight .ch { color: #75715e } /* Comment.Hashbang */
.highlight .cm { color: #75715e } /* Comment.Multiline */
.highlight .cp { color: #75715e } /* Comment.Prep
---
node_network:
  nic_mappings:
    - name: eth0
      # pci bus/device/function
      bdf: 02:00.1

    - name: eth1
      bdf: 02:00.2

    - name: eth2
      bdf: 81:00.0

    - name: eth3
      bdf: 81:00.1

  bond_mappings:
    - name: bond0
      interface:
        - eth2
        - eth3
      mode: lacp

  bridge_mappings:
    - name: br-prv
      network: physnet
      interface: bond0
      type: ovs
      vlan_range:
        - 1
        - 4000

 
s="nt">type: vlan subnet: mgmt # storage is a vlan interface on eth1, for storage data plane - name: storage interface: eth1 vlan_tag: 4002 type: vlan subnet: storage # public is just a alias for eth1, for external access to openstack api - name: public interface: eth1 type: flat subnet: public subnets: - name: install ip_ranges: - - "10.1.0.1" - "10.1.0.254" cidr: "10.1.0.0/24" - name: mgmt ip_ranges: - - "172.16.1.1" - "172.16.1.254" cidr: "172.16.1.0/24" vip: 172.16.1.222 - name: storage ip_ranges: - - "172.16.2.1" - "172.16.2.254" cidr: "172.16.2.0/24" - name: public ip_ranges: - - "192.168.50.210" - "192.168.50.220" cidr: "192.168.50.0/24" gw: "192.168.50.1" vip: 192.168.50.240