- return ['(?ms)Flow Table ID : 0.*Flow Table ID : 100.*' +
- 'Source Protocol Address : ' + self.ip_src + '.*' +
- 'Target Protocol Address : ' + self.ip_dst + '.*' +
- 'Flow Table ID : ' + self.table_id + '.*' + self.action,
- 'Source MAC : ' + self.src_mac,
- 'Destination MAC : ' + self.dst_mac]
+ return [
+ "(?ms)Flow Table ID : 0.*Flow Table ID : 100.*"
+ + "Source Protocol Address : "
+ + self.ip_src
+ + ".*"
+ + "Target Protocol Address : "
+ + self.ip_dst
+ + ".*"
+ + "Flow Table ID : "
+ + self.table_id
+ + ".*"
+ + self.action,
+ "Source MAC : " + self.src_mac,
+ "Destination MAC : " + self.dst_mac,
+ ]