Committed by
Brian O'Connor
add arp cmd; always return lists from checkLog
The arp CLI command sends gratuitous ARPs from all hosts - this makes it easier for ONOS to discover hosts. Previously checkLog returned None, None if the log file didn't exist; now we return an empty list, to avoid breaking when we take the len() of errors or warnings (which was happening before) and to avoid having to check for None, None, which didn't seem to add a lot of value to justify its complexity. Change-Id: I84847fcf70525c82ac037d8a84cf40d21ab2a106
Showing
1 changed file
with
27 additions
and
1 deletions
-
Please register or login to post a comment