diff --git a/Vagrantfile b/Vagrantfile index a7655a2..ee6c13d 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -12,6 +12,7 @@ end boxes = [ { name: "node0.lctp", role: :head_node, mac: "5CA1AB1E0001", json: load_json("node0.json") }, { name: "node1.lctp", role: :compute_node, mac: "5CA1AB1E0002", json: load_json("node1.json") } + #{ name: "node2.lctp", role: :compute_node, mac: "5CA1AB1E0003", json: load_json("node2.json") } ] ["vbguest", "berkshelf"].each do |plugin| diff --git a/nodes/node0.json b/nodes/node0.json index 15b85aa..d933e69 100644 --- a/nodes/node0.json +++ b/nodes/node0.json @@ -25,6 +25,9 @@ "hosts": { "node1": { "mac": "5c:a1:ab:1e:00:02" + }, + "node2": { + "mac": "5c:a1:ab:1e:00:03" } } }, @@ -36,7 +39,8 @@ "lctp": { "records": [ { "name": "node0", "type": "A", "value": "172.28.128.1" }, - { "name": "node1", "type": "A", "value": "172.28.128.101" } + { "name": "node1", "type": "A", "value": "172.28.128.101" }, + { "name": "node2", "type": "A", "value": "172.28.128.102" } ] }, "128.28.172.in-addr.arpa": { diff --git a/nodes/node2.json b/nodes/node2.json new file mode 100644 index 0000000..714fd87 --- /dev/null +++ b/nodes/node2.json @@ -0,0 +1,8 @@ +{ + "lctp_network": { + "interfaces": { + "eth0": { "metric": 100 }, + "eth1": { "metric": 50 } + } + } +}