SRDhcprelay at 06 Dec 2018 05:51:48

<img src="https://jenkins.onosproject.org/view/QA/job/postjob-Fabric4/lastSuccessfulBuild/artifact/SRDhcprelay_master_20-builds_graph.jpg", alt="SRDhcprelay", style="width:525px;height:350px;border:0">
commit c97849c19bfc75ba48f4fe0c9c464138c7364ee5 (HEAD -] master, origin/master, origin/HEAD)
Author: kezhiyong [ke.zhiyong@zte.com.cn]
AuthorDate: Mon Dec 3 16:14:29 2018 +0800
Commit: Andrea Campanella [andrea@opennetworking.org]
CommitDate: Thu Dec 6 01:54:36 2018 +0000

If link list if null or empty, the following code links.get(0) will get an error.

Case 1: DHCP v4 tests with 4 clients attached to switch directly and 1 server attached to switch directly, with 3 ONOS instances - PASS

Case 2: DHCP v4 tests with 4 clients attached to switch directly and 1 server attached to switch indirectly (via gateway), with 3 ONOS instances - PASS

Case 11: DHCP v6 tests with 4 clients attached to switch directly and 1 server attached to switch directly, with 3 ONOS instances - PASS

Case 12: DHCP v6 tests with 4 clients attached to switch directly and 1 server attached to switch indirectly (via gateway), with 3 ONOS instances - FAIL

Case 21: DHCP v4 tests with tagged hosts: 4 clients attached to switch directly and 1 server attached to switch directly, with 3 ONOS instances - PASS

Case 22: DHCP v4 tests with 4 clients attached to switch directly and 1 server attached to switch indirectly (via gateway), with 3 ONOS instances - PASS

Case 31: DHCP v6 tests with tagged hosts: 4 clients attached to switch directly and 1 server attached to switch directly, with 3 ONOS instances - FAIL

Case 41: DHCP v4 tests with dual-homed hosts: 4 clients attached to switch directly and 1 server attached to switch directly, with 3 ONOS instances - PASS

Case 51: DHCP v6 tests with dual-homed hosts: 4 clients attached to switch directly and 1 server attached to switch directly, with 3 ONOS instances - FAIL

Case 61: DHCP v4 tests with dual-homed tagged hosts: 4 clients attached to switch directly and 1 server attached to switch directly, with 3 ONOS instances - PASS

Case 71: DHCP v6 tests with dual-homed tagged hosts: 4 clients attached to switch directly and 1 server attached to switch directly, with 3 ONOS instances - FAIL