Revision e99c765011fb48e56b0ea7b66c618e205171a245 authored by Martynas Pumputis on 11 December 2020, 14:44:33 UTC, committed by Martynas Pumputis on 11 December 2020, 16:20:25 UTC
The updated version contains the following change:

    arping: Make PingOverIface* to accept source IP addr

    Instead of trying to derive the src IP with FindIPInNetworkFromIface(),
    accept src IP addr as a param. The latter function is broken for the
    case when the iface has IP addr assigned from the /32 subnet and there
    exists an route to the gw via the iface (GKE).

Also, use the source IP addr for arping from the nexthop route.

Signed-off-by: Martynas Pumputis <m@lambda.lt>
1 parent 375fb8c
Raw File
docker-compose.yml
version: "2"
services:
  consul:
    image: "docker.io/library/consul:1.1.0"
    volumes:
      - "/tmp/cilium-consul-certs:/cilium-consul/"
    hostname: "consul"
    environment:
      - 'CONSUL_LOCAL_CONFIG={"skip_leave_on_interrupt": true, "disable_update_check": true}'
    command: "agent -client=0.0.0.0 -server -bootstrap-expect 1 -config-file=/cilium-consul/consul-config.json"
    privileged: true
  etcd:
    image: "quay.io/coreos/etcd:v3.2.17"
    hostname: "etcd"
    command: "etcd -name etcd0 -advertise-client-urls http://0.0.0.0:4002 -listen-client-urls http://0.0.0.0:4002 -initial-cluster-token etcd-cluster-1 -initial-cluster-state new"
    privileged: true
  base_image:
    image: "quay.io/cilium/cilium-builder:2020-12-07@sha256:48cbd1510f71d8b608d6828e4a8d80b8ce3e7e4808344ffd7683e9231bc9f050"
    volumes:
      - "./../:/go/src/github.com/cilium/cilium/"
    privileged: true
  precheck:
    extends:
      service: base_image
    command: "bash -c 'cd /go/src/github.com/cilium/cilium/; make ci-precheck || exit 1'"
back to top