xmp => when creating a new port, set of_port_num to 0, adjusted to changes in port_manager API