'Updates a port.
For a full list of available parameters, please refer to the official
API reference:
http://developer.openstack.org/api-ref/networking/v2/index.html#update-port'

def update_port(self, port_id, **kwargs):

    uri = ('/ports/%s' % port_id)
    post_data = {'port': kwargs}
    return self.update_resource(uri, post_data)
