Re: [strongSwan] Python Vici client does not accept configurations specifying the 'pools' field

2019-05-02 Thread Joshua Marshall
That seems to have done it. I would have never guessed that from the given error. On Thu, May 2, 2019 at 10:26 AM Tobias Brunner wrote: > Hi Joshua, > > > How can I get this to work? > > "pools" takes a list of strings, not a single identifier. So pass this > as `"pools": [ pool_id ],`. > > Re

Re: [strongSwan] Python Vici client does not accept configurations specifying the 'pools' field

2019-05-02 Thread Tobias Brunner
Hi Joshua, > How can I get this to work? "pools" takes a list of strings, not a single identifier. So pass this as `"pools": [ pool_id ],`. Regards, Tobias

[strongSwan] Python Vici client does not accept configurations specifying the 'pools' field

2019-05-02 Thread Joshua Marshall
When feeding in a dict to vici.Session().load_conn() with anything that has 'pools' as a option in a configuration, it gets rejected with "vici.exception.CommandException: Command failed: b'unknown option: pools, config discarded'". { connection_name: { ..., "pools":