Commit 66c402ee authored by Lionel Gauthier's avatar Lionel Gauthier

Bug fixes

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@5019 818b1a75-f10b-46b9-bf7c-635c3b92a50f
parent b8454458
...@@ -33,10 +33,11 @@ source $THIS_SCRIPT_PATH/utils.bash ...@@ -33,10 +33,11 @@ source $THIS_SCRIPT_PATH/utils.bash
########################################################### ###########################################################
test_command_install_package "gccxml" "gccxml" "--force-yes" test_command_install_package "gccxml" "gccxml" "--force-yes"
test_command_install_package "vconfig" "vlan" test_command_install_package "vconfig" "vlan" "--force-yes"
test_command_install_package "iptables" "iptables" test_command_install_package "iptables" "iptables"
test_command_install_package "iperf" "iperf" test_command_install_package "iperf" "iperf" "--force-yes"
test_command_install_package "ip" "iproute" test_command_install_package "ip" "iproute"
test_command_install_lib "/usr/lib/libconfig.so" "libconfig-dev"
test_command_install_script "ovs-vsctl" "$OPENAIRCN_DIR/SCRIPTS/install_openvswitch1.9.0.bash" test_command_install_script "ovs-vsctl" "$OPENAIRCN_DIR/SCRIPTS/install_openvswitch1.9.0.bash"
test_command_install_package "tunctl" "uml-utilities" test_command_install_package "tunctl" "uml-utilities"
if [ ! -d /usr/local/etc/freeDiameter ] if [ ! -d /usr/local/etc/freeDiameter ]
......
...@@ -31,11 +31,13 @@ source $THIS_SCRIPT_PATH/utils.bash ...@@ -31,11 +31,13 @@ source $THIS_SCRIPT_PATH/utils.bash
########################################################### ###########################################################
test_command_install_package "gccxml" "gccxml" "--force-yes" test_command_install_package "gccxml" "gccxml" "--force-yes"
test_command_install_package "vconfig" "vlan" test_command_install_package "vconfig" "vlan" "--force-yes"
test_command_install_package "iptables" "iptables" test_command_install_package "iptables" "iptables"
test_command_install_package "iperf" "iperf" test_command_install_package "iperf" "iperf" "--force-yes"
test_command_install_package "ip" "iproute" test_command_install_package "ip" "iproute"
test_command_install_package "tunctl" "uml-utilities" test_command_install_package "tunctl" "uml-utilities"
test_command_install_lib "/usr/lib/libconfig.so" "libconfig-dev" "--force-yes"
if [ ! -d /usr/local/etc/freeDiameter ] if [ ! -d /usr/local/etc/freeDiameter ]
then then
cd $OPENAIRCN_DIR/S6A/freediameter && ./install_freediameter.sh cd $OPENAIRCN_DIR/S6A/freediameter && ./install_freediameter.sh
...@@ -113,8 +115,8 @@ cd $OPENAIRCN_DIR ...@@ -113,8 +115,8 @@ cd $OPENAIRCN_DIR
####################################################### #######################################################
# FIND CONFIG FILE # FIND CONFIG FILE
####################################################### #######################################################
CONFIG_FILE=$THIS_SCRIPT_PATH/CONF/epc.sfr.default_vlan.conf CONFIG_FILE=$THIS_SCRIPT_PATH/CONF/epc.sfr.default.vlan.conf
SEARCHED_CONFIG_FILE=$THIS_SCRIPT_PATH/CONF/epc.sfr."$HOSTNAME"_vlan.conf SEARCHED_CONFIG_FILE=$THIS_SCRIPT_PATH/CONF/epc.sfr."$HOSTNAME".vlan.conf
if [ -f $SEARCHED_CONFIG_FILE ]; then if [ -f $SEARCHED_CONFIG_FILE ]; then
CONFIG_FILE=$SEARCHED_CONFIG_FILE CONFIG_FILE=$SEARCHED_CONFIG_FILE
echo_warning "config file found is now $CONFIG_FILE" echo_warning "config file found is now $CONFIG_FILE"
...@@ -160,8 +162,8 @@ declare SGW_IPV4_NETMASK_FOR_S1U_S12_S4_UP=$(echo $SGW_IPV4_ADDRESS_FOR_S1U_S12_ ...@@ -160,8 +162,8 @@ declare SGW_IPV4_NETMASK_FOR_S1U_S12_S4_UP=$(echo $SGW_IPV4_ADDRESS_FOR_S1U_S12_
#declare PGW_IPV4_NETMASK_FOR_S5_S8=$( echo $PGW_IPV4_ADDRESS_FOR_S5_S8 | cut -f2 -d '/') #declare PGW_IPV4_NETMASK_FOR_S5_S8=$( echo $PGW_IPV4_ADDRESS_FOR_S5_S8 | cut -f2 -d '/')
declare PGW_IPV4_NETMASK_FOR_SGI=$( echo $PGW_IPV4_ADDR_FOR_SGI | cut -f2 -d '/') declare PGW_IPV4_NETMASK_FOR_SGI=$( echo $PGW_IPV4_ADDR_FOR_SGI | cut -f2 -d '/')
ENB_IPV4_ADDRESS_FOR_S1_MME=$( echo $ENB_IPV4_ADDRESS_FOR_S1_MME | cut -f1 -d '/') #ENB_IPV4_ADDRESS_FOR_S1_MME=$( echo $ENB_IPV4_ADDRESS_FOR_S1_MME | cut -f1 -d '/')
ENB_IPV4_ADDRESS_FOR_S1U=$( echo $ENB_IPV4_ADDRESS_FOR_S1U | cut -f1 -d '/') #ENB_IPV4_ADDRESS_FOR_S1U=$( echo $ENB_IPV4_ADDRESS_FOR_S1U | cut -f1 -d '/')
MME_IPV4_ADDRESS_FOR_S1_MME=$( echo $MME_IPV4_ADDRESS_FOR_S1_MME | cut -f1 -d '/') MME_IPV4_ADDRESS_FOR_S1_MME=$( echo $MME_IPV4_ADDRESS_FOR_S1_MME | cut -f1 -d '/')
#MME_IPV4_ADDRESS_FOR_S11_MME=$( echo $MME_IPV4_ADDRESS_FOR_S11_MME | cut -f1 -d '/') #MME_IPV4_ADDRESS_FOR_S11_MME=$( echo $MME_IPV4_ADDRESS_FOR_S11_MME | cut -f1 -d '/')
#SGW_IPV4_ADDRESS_FOR_S11=$( echo $SGW_IPV4_ADDRESS_FOR_S11 | cut -f1 -d '/') #SGW_IPV4_ADDRESS_FOR_S11=$( echo $SGW_IPV4_ADDRESS_FOR_S11 | cut -f1 -d '/')
...@@ -171,7 +173,7 @@ SGW_IPV4_ADDRESS_FOR_S1U_S12_S4_UP=$( echo $SGW_IPV4_ADDRESS_FOR_S1U_S12_ ...@@ -171,7 +173,7 @@ SGW_IPV4_ADDRESS_FOR_S1U_S12_S4_UP=$( echo $SGW_IPV4_ADDRESS_FOR_S1U_S12_
PGW_IPV4_ADDR_FOR_SGI=$( echo $PGW_IPV4_ADDR_FOR_SGI | cut -f1 -d '/') PGW_IPV4_ADDR_FOR_SGI=$( echo $PGW_IPV4_ADDR_FOR_SGI | cut -f1 -d '/')
clean_epc_vlan_network clean_epc_vlan_network
build_epc_vlan_network build_mme_spgw_vlan_network
test_epc_vlan_network test_epc_vlan_network
##################################################.. ##################################################..
......
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment