#!/usr/bin/env bash
set -e
set -x

# Get the current list of required packages (this is used in the clean up
# code to remove the temporary packages that are about to be installed).
dpkg -l | grep ^ii | sed 's_  _\t_g' | cut -f 2 >/tmp/required.txt

# Install temporary packages required for installing Felix and etcd.
apt-get install -qy \
        git \
        python-dev \
        libffi-dev \
        libssl-dev

# Install Felix and python-etcd from the Metaswitch github repos.
pip install git+https://github.com/Metaswitch/python-etcd.git
pip install git+https://github.com/Metaswitch/calico.git@0.27
pip install git+https://github.com/projectcalico/libcalico.git@v0.1.0

# Install Confd
curl -L https://www.github.com/kelseyhightower/confd/releases/download/v0.9.0/confd-0.9.0-linux-amd64 -o confd
chmod +x confd

pip install -r /pycalico/requirements.txt
#!/usr/bin/env bash
set -e
set -x

# Get the current list of required packages (this is used in the clean up
# code to remove the temporary packages that are about to be installed).
dpkg -l | grep ^ii | sed 's_  _\t_g' | cut -f 2 >/tmp/required.txt

# Install temporary packages required for installing Felix and etcd.
apt-get install -qy \
        git \
        python-dev \
        libffi-dev \
        libssl-dev

# Install Felix and python-etcd from the Metaswitch github repos.
pip install git+https://github.com/Metaswitch/python-etcd.git
pip install git+https://github.com/Metaswitch/calico.git@0.28
pip install git+https://github.com/projectcalico/libcalico.git@v0.1.0

# Install Confd
curl -L https://www.github.com/kelseyhightower/confd/releases/download/v0.9.0/confd-0.9.0-linux-amd64 -o confd
chmod +x confd

pip install -r /pycalico/requirements.txt

Update Felix release version to 0.28
Update Felix release version to 0.28


Former-commit-id: 9a07b7aa83e54522a647bac6c368ac936976fce8