diff --git a/deployment_scripts/calico_route_reflector.sh b/deployment_scripts/calico_route_reflector.sh index 301d5e0..a04982a 100755 --- a/deployment_scripts/calico_route_reflector.sh +++ b/deployment_scripts/calico_route_reflector.sh @@ -7,9 +7,9 @@ set -x echo "Hi, I'm a route_reflector node!" -this_node_address=$(grep `hostname` /etc/hosts | awk '{print $1;}') +this_node_address=$(python get_node_ip.py `hostname`) -all_nodes=$(grep node- /etc/hosts | awk '{print $1;}') +bgp_peers=$(python get_rr_peers.py) # Generate basic config for a BIRD BGP route reflector. cat > /etc/bird/bird.conf <> /etc/bird/bird.conf <