@api_call
    def create_port(self, network, body=None):
        body = self.serialize(body)
        return self.do_request("POST", self.ports_path % (network), body=body)
Creates a new port on a given network
dataset/ETHPy150Open nii-cloud/dodai-compute/nova/network/quantum/client.py/Client.create_port