mirror of https://github.com/apache/cloudstack.git
Seems the behavior of ifdown/ifup changed in new version, that it would only enable the default IP of eth2, regardless we can configure additional ips for it. So we would always use ifconfig for interface control whenever possible(a.k.a eth2 already got ip addresses). When VR is booting up, ipassoc command hasn't been delivered, it's possible that eth2 doesn't have any ip address, then ifconfig would fail because it doesn't know how to find the ip for eth2. So in this only case, we would use ifdown/ifup to set the ip address according to /etc/network/interfaces. It can potentially racy againest ipassoc command, but biglock should prevent racy condition from happening. |
||
|---|---|---|
| .. | ||
| .ssh | ||
| redundant_router | ||
| bumpup_priority.sh | ||
| clearUsageRules.sh | ||
| createIpAlias.sh | ||
| deleteIpAlias.sh | ||
| dnsmasq.sh | ||
| edithosts.sh | ||
| firewall.sh | ||
| firewallRule_egress.sh | ||
| firewall_rule.sh | ||
| func.sh | ||
| loadbalancer.sh | ||
| reconfigLB.sh | ||
| savepassword.sh | ||
| userdata.py | ||
| userdata.sh | ||