validation of JSON



all,



recently I was busy with nmcli creating teams and got this when bringing up
the interface::


Error: Connection activation failed: Active connection removed before it
was initialized

caused by

nmcli connection add type team con-name myteam0 ifname team0 config
'{"runner":"name":"activebackup"}

which has an incorrect json config.

obviously it should be '{"runner":{"name":"activebackup"}}
===

However, the myteam0 was succesfully added and nmcli connection shows a
missing device for myteam0


The question is -- what's the reason to successfully add the myteam0 added
while the json is incorrect?


Roeland


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]