{"action":"created","issue":{"url":"https://api.github.com/repos/lxc/lxd/issues/3912","repository_url":"https://api.github.com/repos/lxc/lxd","labels_url":"https://api.github.com/repos/lxc/lxd/issues/3912/labels{/name}","comments_url":"https://api.github.com/repos/lxc/lxd/issues/3912/comments","events_url":"https://api.github.com/repos/lxc/lxd/issues/3912/events","html_url":"https://github.com/lxc/lxd/issues/3912","id":263569645,"number":3912,"title":"API : Network rename leave unmanaged nic","user":{"login":"Nani-o","id":26149182,"avatar_url":"https://avatars0.githubusercontent.com/u/26149182?v=4","gravatar_id":"","url":"https://api.github.com/users/Nani-o","html_url":"https://github.com/Nani-o","followers_url":"https://api.github.com/users/Nani-o/followers","following_url":"https://api.github.com/users/Nani-o/following{/other_user}","gists_url":"https://api.github.com/users/Nani-o/gists{/gist_id}","starred_url":"https://api.github.com/users/Nani-o/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Nani-o/subscriptions","organizations_url":"https://api.github.com/users/Nani-o/orgs","repos_url":"https://api.github.com/users/Nani-o/repos","events_url":"https://api.github.com/users/Nani-o/events{/privacy}","received_events_url":"https://api.github.com/users/Nani-o/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":13,"created_at":"2017-10-06T20:57:02Z","updated_at":"2017-10-06T21:26:40Z","closed_at":null,"author_association":"NONE","body":"Hi,\r\n\r\nI'm running :\r\n```\r\n$ lsb_release -a\r\nDistributor ID:\tUbuntu\r\nDescription:\tUbuntu 16.04.3 LTS\r\nRelease:\t16.04\r\nCodename:\txenial\r\n$ lxd --version\r\n2.18\r\n```\r\n\r\nHere is my network list :\r\n\r\n```\r\n$ lxc network list\r\n+--------+----------+---------+----------------+---------+\r\n|  NAME  |   TYPE   | MANAGED |  DESCRIPTION   | USED BY |\r\n+--------+----------+---------+----------------+---------+\r\n| eth0   | physical | NO      |                | 0       |\r\n+--------+----------+---------+----------------+---------+\r\n| eth1   | physical | NO      |                | 0       |\r\n+--------+----------+---------+----------------+---------+\r\n| lxdbr0 | bridge   | YES     | Default bridge | 1       |\r\n+--------+----------+---------+----------------+---------+\r\n| test   | bridge   | YES     |                | 0       |\r\n+--------+----------+---------+----------------+---------+\r\n```\r\n\r\nI'm using the API to rename the test nic, it actually works, but leave me with :\r\n\r\n```\r\n$ lxc network list\r\n+--------+----------+---------+----------------+---------+\r\n|  NAME  |   TYPE   | MANAGED |  DESCRIPTION   | USED BY |\r\n+--------+----------+---------+----------------+---------+\r\n| eth0   | physical | NO      |                | 0       |\r\n+--------+----------+---------+----------------+---------+\r\n| eth1   | physical | NO      |                | 0       |\r\n+--------+----------+---------+----------------+---------+\r\n| lxdbr0 | bridge   | YES     | Default bridge | 1       |\r\n+--------+----------+---------+----------------+---------+\r\n| test   | bridge   | NO      |                | 0       |\r\n+--------+----------+---------+----------------+---------+\r\n| test2  | bridge   | YES     |                | 0       |\r\n+--------+----------+---------+----------------+---------+\r\n```\r\n\r\nWhen I would expect :\r\n\r\n```\r\n$ lxc network list\r\n+--------+----------+---------+----------------+---------+\r\n|  NAME  |   TYPE   | MANAGED |  DESCRIPTION   | USED BY |\r\n+--------+----------+---------+----------------+---------+\r\n| eth0   | physical | NO      |                | 0       |\r\n+--------+----------+---------+----------------+---------+\r\n| eth1   | physical | NO      |                | 0       |\r\n+--------+----------+---------+----------------+---------+\r\n| lxdbr0 | bridge   | YES     | Default bridge | 1       |\r\n+--------+----------+---------+----------------+---------+\r\n| test2  | bridge   | YES     |                | 0       |\r\n+--------+----------+---------+----------------+---------+\r\n```\r\n\r\nIs that a desired behavior ?\r\n\r\nP.S : Let me know if I forgot some necessary information."},"comment":{"url":"https://api.github.com/repos/lxc/lxd/issues/comments/334874202","html_url":"https://github.com/lxc/lxd/issues/3912#issuecomment-334874202","issue_url":"https://api.github.com/repos/lxc/lxd/issues/3912","id":334874202,"user":{"login":"brauner","id":7353573,"avatar_url":"https://avatars0.githubusercontent.com/u/7353573?v=4","gravatar_id":"","url":"https://api.github.com/users/brauner","html_url":"https://github.com/brauner","followers_url":"https://api.github.com/users/brauner/followers","following_url":"https://api.github.com/users/brauner/following{/other_user}","gists_url":"https://api.github.com/users/brauner/gists{/gist_id}","starred_url":"https://api.github.com/users/brauner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brauner/subscriptions","organizations_url":"https://api.github.com/users/brauner/orgs","repos_url":"https://api.github.com/users/brauner/repos","events_url":"https://api.github.com/users/brauner/events{/privacy}","received_events_url":"https://api.github.com/users/brauner/received_events","type":"User","site_admin":false},"created_at":"2017-10-06T21:26:40Z","updated_at":"2017-10-06T21:26:40Z","author_association":"MEMBER","body":"Not something we need to implement just if this ever becomes a thing."}}
{"actor":{"display_login":"brauner"}}