@api_call
    def set_port_state(self, network, port, body=None):
        body = self.serialize(body)
        return self.do_request("PUT",
            self.port_path % (network, port), body=body)
Sets the state of the specified port
dataset/ETHPy150Open nii-cloud/dodai-compute/nova/network/quantum/client.py/Client.set_port_state