Start dhcp relay server in test case relay initialize
Change-Id: I9783cfdfde11d6fdf3628fd96149d23a77fca4b5
diff --git a/src/test/dhcpl2relay/dhcpl2relayTest.py b/src/test/dhcpl2relay/dhcpl2relayTest.py
index bbab95f..cbaeea8 100644
--- a/src/test/dhcpl2relay/dhcpl2relayTest.py
+++ b/src/test/dhcpl2relay/dhcpl2relayTest.py
@@ -158,10 +158,12 @@
setup_for_relay = cls.dhcp_l2_relay_setup()
cls.cord_l2_relay_load()
cls.voltha_setup()
- dhcp_start_status = cls.dhcpd_start()
- if setup_for_relay and dhcp_start_status:
- return True
- return False
+ return True
+
+ # dhcp_start_status = cls.dhcpd_start()
+ # if setup_for_relay and dhcp_start_status:
+ # return True
+ # return False
@classmethod
def config_olt(cls, switch_map):
@@ -583,8 +585,8 @@
return cip,sip
def test_dhcpl2relay_initialize(self):
- '''Setup and configure the DHCP L2 relay app'''
- pass
+ '''Configure the DHCP L2 relay app and start dhcpd'''
+ self.dhcpd_start()
def test_dhcpl2relay_with_one_request(self, iface = 'veth0'):
mac = self.get_mac(iface)