Skip to content

Commit

Permalink
Do not set no proxy flag for remote VMs.
Browse files Browse the repository at this point in the history
Also, change the ARP retry count for VMs (while identifying
active interface in active-backup mode).

Change-Id: I6c994ceccf87082e702ce2ff5273244e762cbb96
closes-bug: #1599028
  • Loading branch information
haripk committed Jul 12, 2016
1 parent 45692ea commit bb943c3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/vnsw/agent/services/arp_proto.h
Original file line number Diff line number Diff line change
Expand Up @@ -211,8 +211,8 @@ struct ArpVrfState : public DBState {

class ArpDBState : public DBState {
public:
static const uint32_t kMaxRetry = 10;
static const uint32_t kTimeout = 1000;
static const uint32_t kMaxRetry = 30;
static const uint32_t kTimeout = 2000;
typedef std::map<uint32_t, uint32_t> WaitForTrafficIntfMap;

ArpDBState(ArpVrfState *vrf_state, uint32_t vrf_id,
Expand Down
2 changes: 1 addition & 1 deletion src/vnsw/agent/vrouter/ksync/interface_ksync.cc
Original file line number Diff line number Diff line change
Expand Up @@ -557,7 +557,7 @@ int InterfaceKSyncEntry::Encode(sandesh_op::type op, char *buf, int buf_len) {
if (bridging_) {
flags |= VIF_FLAG_L2_ENABLED;
}
if (vmi_type_ == VmInterface::REMOTE_VM) {
if (vmi_type_ == VmInterface::GATEWAY) {
flags |= VIF_FLAG_NO_ARP_PROXY;
}
if (flood_unknown_unicast_) {
Expand Down

0 comments on commit bb943c3

Please sign in to comment.