#!/bin/sh

RYU_GIT="https://github.com/routeflow/ryu-rfproxy.git"
RYU_BRANCH="origin/master"

get_ryu() {
    # TODO: This recommendation should be revisited after the ovs-1.10+ release
    if [ "$OVS_VERSION" != "git" ]; then
        print_status "We recommend using ovs-git with Ryu for OF1.2+ Support" \
            $YELLOW
    fi

    print_status "Fetching Ryu controller"

    if [ $FETCH_ONLY -ne 1 ]; then
        $SUPER pip install ryu || fail "Failed to fetch ryu controller"
    fi

    fetch "ryu-" "rfproxy" $RYU_GIT $RYU_BRANCH ||
        fail "Couldn't fetch ryu-rfproxy"
    $DO cd -
}

#!/bin/sh

RYU_GIT="https://github.com/routeflow/ryu-rfproxy.git"
RYU_BRANCH="origin/ha"

get_ryu() {
    # TODO: This recommendation should be revisited after the ovs-1.10+ release
    if [ "$OVS_VERSION" != "git" ]; then
        print_status "We recommend using ovs-git with Ryu for OF1.2+ Support" \
            $YELLOW
    fi

    print_status "Fetching Ryu controller"

    if [ $FETCH_ONLY -ne 1 ]; then
        $SUPER pip install ryu || fail "Failed to fetch ryu controller"
    fi

    fetch "ryu-" "rfproxy" $RYU_GIT $RYU_BRANCH ||
        fail "Couldn't fetch ryu-rfproxy"
    $DO cd -
}

Correct branch of rfproxy to be used for HA.
Correct branch of rfproxy to be used for HA.

The branch was set to be 'origin/master' which is changed to 'origin/ha'
that has all changes for HA support.

Signed-off-by: Srijan Mishra <c2c41bdc8170583cc0b29d3ebd2deb0e30f77bb7@gmail.com>
Acked-by: 94202dcf220e8a88121317302a23c120bd7d8ad2@gmail.com
