i="0"
while [ ! -z "${EXTNET[i]}" ];
do
- echo enableautomode ${EXTNET[i]} AUTO $stornet || true
+ enableautomode ${EXTNET[i]} AUTO $stornet || true
i=$[$i+1]
done
fi
i="0"
while [ ! -z "${EXTNET[i]}" ];
do
- echo enableautomode ${EXTNET[i]} AUTO $pubnet || true
+ enableautomode ${EXTNET[i]} AUTO $pubnet || true
i=$[$i+1]
done
fi
brgway = getFromDict(labcfg, ["opnfv","spaces",c,"gateway"])
tmpcidr = brcidr[:-4]
opnfvlabcfg["opnfv"]["admNetwork"]=tmpcidr+"2"
- opnfvlabcfg["opnfv"]["admNetworkgway"]=brgway
+ opnfvlabcfg["opnfv"]["admNetgway"]=brgway
nodegroup={"device": "eth"+str(y), "ip": tmpcidr+"5","subnet_mask": "255.255.255.0", \
"broadcast_ip": tmpcidr+"255", "router_ip": brgway,\
y=y+1
if brtype == "public":
opnfvcfg["demo-maas"]["juju-bootstrap"]["interfaces"].append("bridge="+brname+",model=virtio")
- opnfvlabcfg["opnfv"]["pubicNetwork"]=brcidr
+ opnfvlabcfg["opnfv"]["publicNetwork"]=brcidr
if brtype == "external":
ipaddress = getFromDict(labcfg, ["opnfv","spaces",c,"ipaddress"])
ethbrAdm = (ethbrAdm+'\n'
EXTNET_GW=${EXTNET[2]}
EXTNET_NET=${EXTNET[3]}
EXTNET_PORT=`grep "ext-port" deployconfig.yaml | cut -d ' ' -f 4 | sed -e 's/ //' | tr ',' ' '`
- ADMNET_GW=`grep "admNetworkgway" deployconfig.yaml | cut -d ' ' -f 4 | sed -e 's/ //' | tr ',' ' '`
+ ADMNET_GW=`grep "admNetgway" deployconfig.yaml | cut -d ' ' -f 4 | sed -e 's/ //' | tr ',' ' '`
fi
- ifname: eth4
spaces: [data]
mac: ["90:E2:BA:85:4E:2C"]
+ - ifname: eth5
+ spaces: [public]
+ mac: ["90:E2:BA:85:4E:2D"]
power:
type: ipmi
address: 10.2.117.81
- ifname: eth4
spaces: [data]
mac: ["90:E2:BA:84:08:B8"]
+ - ifname: eth5
+ spaces: [public]
+ mac: ["90:E2:BA:84:08:B9"]
power:
type: ipmi
address: 10.2.117.82
- ifname: eth4
spaces: [data]
mac: ["90:E2:BA:84:07:0D"]
+ - ifname: eth5
+ spaces: [public]
+ mac: ["90:E2:BA:84:07:0E"]
power:
type: ipmi
address: 10.2.117.83
- ifname: eth4
spaces: [data]
mac: ["90:E2:BA:83:FD:80"]
+ - ifname: eth5
+ spaces: [public]
+ mac: ["90:E2:BA:83:FD:81"]
power:
type: ipmi
address: 10.2.117.84
- ifname: eth4
spaces: [data]
mac: ["90:E2:BA:75:22:74"]
+ - ifname: eth5
+ spaces: [public]
+ mac: ["90:E2:BA:75:22:75"]
power:
type: ipmi
address: 10.2.117.85
- ifname: eth4
spaces: [data]
mac: ["90:E2:BA:83:FD:20"]
+ - ifname: eth5
+ spaces: [public]
+ mac: ["90:E2:BA:83:FD:21"]
power:
type: ipmi
address: 10.2.117.96
- ifname: eth4
spaces: [data]
mac: ["90:E2:BA:75:30:F4"]
+ - ifname: eth5
+ spaces: [public]
+ mac: ["90:E2:BA:75:30:F5"]
power:
type: ipmi
address: 10.2.117.97
- ifname: eth4
spaces: [data]
mac: ["90:E2:BA:83:FE:74"]
+ - ifname: eth5
+ spaces: [public]
+ mac: ["90:E2:BA:83:FE:75"]
power:
type: ipmi
address: 10.2.117.98
- ifname: eth4
spaces: [data]
mac: ["90:E2:BA:84:15:7C"]
+ - ifname: eth5
+ spaces: [public]
+ mac: ["90:E2:BA:84:15:7D"]
power:
type: ipmi
address: 10.2.117.99
- ifname: eth4
spaces: [data]
mac: ["90:E2:BA:84:08:F4"]
+ - ifname: eth5
+ spaces: [public]
+ mac: ["90:E2:BA:84:08:F5"]
power:
type: ipmi
address: 10.2.117.100