Skip to content

Commit

Permalink
Merge pull request projectcalico#1011 from song-jiang/song-host-route
Browse files Browse the repository at this point in the history
Remove host route on endpoint with vxlan
  • Loading branch information
song-jiang authored Feb 5, 2021
2 parents ecf3864 + 9ecd321 commit 87b526a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .semaphore/run-win-fv.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ SSH_CMD=$(echo ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -

${SSH_CMD} ls -ltr /home/ubuntu
${SSH_CMD} ls -ltr /home/ubuntu/winfv
${SSH_CMD} touch /home/ubuntu/file-ready
${SSH_CMD} touch /home/ubuntu/winfv/file-ready
${SSH_CMD} time /home/ubuntu/winfv/wait-report.sh
${SSH_CMD} ls -ltr /home/ubuntu/report
popd
Expand Down
4 changes: 2 additions & 2 deletions .semaphore/semaphore.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ blocks:
- artifact push job ${REPORT_DIR} --destination semaphore/test-results --expire-in ${SEMAPHORE_ARTIFACT_EXPIRY} || true
- artifact push job ${LOGS_DIR} --destination semaphore/logs --expire-in ${SEMAPHORE_ARTIFACT_EXPIRY} || true
- aws ec2 delete-key-pair --key-name ${KEYPAIR_NAME} || true
- cd process/testing/winfv && NAME_PREFIX="${CLUSTER_NAME}" ./setup-fv.sh -q -u
- cd ~/process/testing/winfv && NAME_PREFIX="${CLUSTER_NAME}" ./setup-fv.sh -q -u
env_vars:
- name: SEMAPHORE_ARTIFACT_EXPIRY
value: 2w
Expand Down Expand Up @@ -156,4 +156,4 @@ blocks:
- name: Trigger pin updates
commands:
- checkout
- make semaphore-run-auto-pin-update-workflows
- make semaphore-run-auto-pin-update-workflows
7 changes: 1 addition & 6 deletions pkg/dataplane/windows/dataplane_windows.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2018-2020 Tigera, Inc. All rights reserved.
// Copyright (c) 2018-2021 Tigera, Inc. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -693,11 +693,6 @@ func (d *windowsDataplane) createAndAttachContainerEP(args *skel.CmdArgs,
}
// conjure a MAC based on the IP for Overlay
macAddr = fmt.Sprintf("%v-%02x-%02x-%02x-%02x", vxlanMACPrefix, epIPBytes[0], epIPBytes[1], epIPBytes[2], epIPBytes[3])

pols = append(pols, []json.RawMessage{
[]byte(fmt.Sprintf(`{"Type":"PA","PA":"%s"}`, hnsNetwork.ManagementIP)),
}...)

}

attempts := 3
Expand Down

0 comments on commit 87b526a

Please sign in to comment.