def loxi_bucket_to_ofp_bucket(lo): return pb2.ofp_bucket(weight=lo.weight, watch_port=lo.watch_port, watch_group=lo.watch_group, actions=[to_grpc(a) for a in lo.actions])
def loxi_bucket_to_ofp_bucket(lo): return pb2.ofp_bucket( weight=lo.weight, watch_port=lo.watch_port, watch_group=lo.watch_group, actions=[to_grpc(a) for a in lo.actions])