<commit_before>#!/bin/sh
set -e
set -x

show_commands() {
dist/calicoctl status
dist/calicoctl shownodes --detailed
dist/calicoctl ipv4 pool show
dist/calicoctl profile show --detailed
}

# Set it up
docker rm -f node etcd || true
docker run -d -p 4001:4001 --name etcd quay.io/coreos/etcd:v0.4.6
dist/calicoctl reset || true

docker run -tid --name=node busybox
dist/calicoctl node --ip=127.0.0.1
dist/calicoctl profile add TEST_GROUP

# Add endpoints
export DOCKER_HOST=localhost:2377
while ! docker ps; do
echo "Waiting for powerstrip to come up"
  sleep 1
done

dist/calicoctl container add node 192.168.1.1
dist/calicoctl profile TEST_GROUP add member node

while ! ip route |grep 192.168.1.1; do
echo "Waiting for felix to add route"
  sleep 1
done<commit_msg>Fix call to member add command.<commit_after>#!/bin/sh
set -e
set -x

show_commands() {
dist/calicoctl status
dist/calicoctl shownodes --detailed
dist/calicoctl ipv4 pool show
dist/calicoctl profile show --detailed
}

# Set it up
docker rm -f node etcd || true
docker run -d -p 4001:4001 --name etcd quay.io/coreos/etcd:v0.4.6
dist/calicoctl reset || true

docker run -tid --name=node busybox
dist/calicoctl node --ip=127.0.0.1
dist/calicoctl profile add TEST_GROUP

# Add endpoints
export DOCKER_HOST=localhost:2377
while ! docker ps; do
echo "Waiting for powerstrip to come up"
  sleep 1
done

dist/calicoctl container add node 192.168.1.1
dist/calicoctl profile TEST_GROUP member add node

while ! ip route |grep 192.168.1.1; do
echo "Waiting for felix to add route"
  sleep 1
done
{'fraction_non_alphanumeric': 0.09225806451612903, 'fraction_numerical': 0.05161290322580645, 'mean_word_length': 3.9238095238095236, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 6, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3797084', 'n_tokens_mistral': 612, 'n_tokens_neox': 557, 'n_words': 196}