return result.createSoftware();
}
@VisibleForTesting
Network apply(Network network) {
NetworkBuilder result = network.toBuilder();
for (int port : ports) {
result.addRules(Rule.builder().anySource().tcp().port(port).createRule());
}
return result.createNetwork();
}