MT#8835 [PRO] ngcpnetmask option

We can select the ha_int IP with ngcpip[1|2] but we should be able
to select the netmask too instead of using the default one

Change-Id: I221df9749107662b0a551800a24830fb577f3678
changes/09/109/1
Victor Seva 11 years ago
parent 1d9ba34bd4
commit 8469cd8de2

@ -395,6 +395,10 @@ if checkBootParam ngcpip2 ; then
IP2=$(getBootParam ngcpip2)
fi
if checkBootParam ngcpnetmask ; then
INTERNAL_NETMASK=$(getBootParam ngcpnetmask)
fi
if checkBootParam ngcpeaddr ; then
EADDR=$(getBootParam ngcpeaddr)
fi
@ -505,6 +509,7 @@ Control target system:
ngcpeiface=... - external interface device (defaults to eth0)
ngcpip1=... - IP address of first node
ngcpip2=... - IP address of second node
ngcpnetmask=... - netmask of ha_int interface
ngcpeaddr=... - Cluster IP address
The command line options correspond with the available bootoptions.
@ -539,6 +544,7 @@ for param in $* ; do
*ngcpeaddr=*) EADDR=$(echo $param | sed 's/ngcpeaddr=//');;
*ngcpip1=*) IP1=$(echo $param | sed 's/ngcpip1=//');;
*ngcpip2=*) IP2=$(echo $param | sed 's/ngcpip2=//');;
*ngcpnetmask=*) INTERNAL_NETMASK=$(echo $param | sed 's/ngcpnetmask=//');;
*ngcpmcast=*) MCASTADDR=$(echo $param | sed 's/ngcpmcast=//');;
*ngcpcrole=*) CROLE=$(echo $param | sed 's/ngcpcrole=//');;
*ngcpcmaster=*) CMASTER=$(echo $param | sed 's/ngcpcmaster=//');;

Loading…
Cancel
Save