{"action":"opened","issue":{"url":"https://api.github.com/repos/kimchi-project/gingerbase/issues/120","repository_url":"https://api.github.com/repos/kimchi-project/gingerbase","labels_url":"https://api.github.com/repos/kimchi-project/gingerbase/issues/120/labels{/name}","comments_url":"https://api.github.com/repos/kimchi-project/gingerbase/issues/120/comments","events_url":"https://api.github.com/repos/kimchi-project/gingerbase/issues/120/events","html_url":"https://github.com/kimchi-project/gingerbase/issues/120","id":163918035,"number":120,"title":"Dummy nics are not detected ","user":{"login":"Grynn","id":212880,"avatar_url":"https://avatars.githubusercontent.com/u/212880?v=3","gravatar_id":"","url":"https://api.github.com/users/Grynn","html_url":"https://github.com/Grynn","followers_url":"https://api.github.com/users/Grynn/followers","following_url":"https://api.github.com/users/Grynn/following{/other_user}","gists_url":"https://api.github.com/users/Grynn/gists{/gist_id}","starred_url":"https://api.github.com/users/Grynn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Grynn/subscriptions","organizations_url":"https://api.github.com/users/Grynn/orgs","repos_url":"https://api.github.com/users/Grynn/repos","events_url":"https://api.github.com/users/Grynn/events{/privacy}","received_events_url":"https://api.github.com/users/Grynn/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-07-05T18:41:48Z","updated_at":"2016-07-05T18:41:48Z","closed_at":null,"body":"Repro: Create a dummy ethernet device\r\n```\r\nip link add dummy1 type dummy\r\nip link\r\n#shows\r\n#xx: dummy1: <BROADCAST,NOARP> mtu 1500 qdisc noop state DOWN mode DEFAULT\r\n#link/ether a6:c5:7f:bc:31:11 brd ff:ff:ff:ff:ff:ff\r\n```\r\n\r\nFunction nics() in netinfo.py returns ```list(set([b.split('/')[-2] for b in glob.glob(NIC_PATH)]```\r\n\r\nNIC_PATH is set to `/sys/class/net/*/device`\r\n\r\n/sys/class/net/dummy1/device <-- does not exist, so dummy1 is not detected.\r\n\r\nNIC_PATH should be `/sys/class/net/*` and nics() should be updated IMHO"}}
{"actor":{"display_login":"Grynn"}}