Skip to content

Commit

Permalink
Updating tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dgsudharsan committed Oct 12, 2021
1 parent dd9781a commit c0631dc
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 4 deletions.
2 changes: 2 additions & 0 deletions tests/test_evpn_fdb.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
import time
from evpn_tunnel import VxlanTunnel,VxlanEvpnHelper

DVS_ENV = ["fake_platform=broadcom"]

def get_vxlan_p2p_tunnel_bp(db, remote_ip):
tnl_id = None
bp = None
Expand Down
2 changes: 1 addition & 1 deletion tests/test_evpn_fdb_p2mp.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import time
from evpn_tunnel import VxlanTunnel,VxlanEvpnHelper

DVS_FAKE_PLATFORM = "mellanox"
DVS_ENV = ["fake_platform=mellanox"]

def get_vxlan_p2mp_tunnel_bp(db, src_ip):
tnl_id = None
Expand Down
2 changes: 2 additions & 0 deletions tests/test_evpn_l3_vxlan.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
from evpn_tunnel import VxlanTunnel,VxlanEvpnHelper
import time

DVS_ENV = ["fake_platform=broadcom"]

class TestL3Vxlan(object):

def get_vxlan_obj(self):
Expand Down
2 changes: 1 addition & 1 deletion tests/test_evpn_l3_vxlan_p2mp.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
from evpn_tunnel import VxlanTunnel,VxlanEvpnHelper
import time

DVS_FAKE_PLATFORM = "mellanox"
DVS_ENV = ["fake_platform=mellanox"]

class TestL3VxlanP2MP(object):

Expand Down
2 changes: 1 addition & 1 deletion tests/test_evpn_tunnel.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from pprint import pprint
from evpn_tunnel import VxlanTunnel

DVS_FAKE_PLATFORM = "broadcom"
DVS_ENV = ["fake_platform=broadcom"]

class TestVxlanOrch(object):

Expand Down
2 changes: 1 addition & 1 deletion tests/test_evpn_tunnel_p2mp.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from evpn_tunnel import VxlanTunnel

DVS_FAKE_PLATFORM = "mellanox"
DVS_ENV = ["fake_platform=mellanox"]

class TestVxlanOrchP2MP(object):

Expand Down

0 comments on commit c0631dc

Please sign in to comment.