@exception.wrap_wsme_pecan_controller_exception
    @wsme_pecan.wsexpose(infrastructure.InfrastructureStack,
                         body=infrastructure.InfrastructureStack,
                         status_code=201)
    def post(self, data):
        handler = infrastructure_handler.InfrastructureStackHandler(
            pecan.request.security_context)
        return infrastructure.InfrastructureStack.from_db_model(
            handler.create(data.as_dict(objects.registry.InfrastructureStack)),
            pecan.request.host_url)
Create a new stack.
dataset/ETHPy150Open openstack/solum/solum/api/controllers/v1/infrastructure.py/InfrastructureStacksController.post