def _action(self, session, body):
        url = utils.urljoin(self.base_path, self.id, 'actions')
        resp = session.post(url, endpoint_filter=self.service, json=body)
        return resp.json()
Coerce a string value to an int port number, and checks the validity.
dataset/ETHPy150Open openstack/python-openstacksdk/openstack/orchestration/v1/stack.py/Stack._action--crossover with--dataset/ETHPy150Open nlloyd/SubliminalCollaborator/libs/twisted/python/usage.py/portCoerce