move openflow to use subnets instead of addr for matches.

This commit is contained in:
Johanna Amann 2015-04-14 15:00:49 -07:00
parent 0e7ebffacf
commit c42fbdab12
5 changed files with 13 additions and 11 deletions

View file

@ -140,9 +140,9 @@ function match_conn(id: conn_id, reverse: bool &default=F): ofp_match
return ofp_match(
$dl_type=dl_type,
$nw_proto=proto,
$nw_src=orig_h,
$nw_src=addr_to_subnet(orig_h),
$tp_src=orig_p,
$nw_dst=resp_h,
$nw_dst=addr_to_subnet(resp_h),
$tp_dst=resp_p
);
}