{"action":"created","issue":{"url":"https://api.github.com/repos/jedelman8/nxos-ansible/issues/40","labels_url":"https://api.github.com/repos/jedelman8/nxos-ansible/issues/40/labels{/name}","comments_url":"https://api.github.com/repos/jedelman8/nxos-ansible/issues/40/comments","events_url":"https://api.github.com/repos/jedelman8/nxos-ansible/issues/40/events","html_url":"https://github.com/jedelman8/nxos-ansible/pull/40","id":123972668,"number":40,"title":"Refactoring nxos_get_interface","user":{"login":"GGabriele","id":4542862,"avatar_url":"https://avatars.githubusercontent.com/u/4542862?v=3","gravatar_id":"","url":"https://api.github.com/users/GGabriele","html_url":"https://github.com/GGabriele","followers_url":"https://api.github.com/users/GGabriele/followers","following_url":"https://api.github.com/users/GGabriele/following{/other_user}","gists_url":"https://api.github.com/users/GGabriele/gists{/gist_id}","starred_url":"https://api.github.com/users/GGabriele/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GGabriele/subscriptions","organizations_url":"https://api.github.com/users/GGabriele/orgs","repos_url":"https://api.github.com/users/GGabriele/repos","events_url":"https://api.github.com/users/GGabriele/events{/privacy}","received_events_url":"https://api.github.com/users/GGabriele/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-12-27T10:59:48Z","updated_at":"2016-01-01T13:54:28Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/jedelman8/nxos-ansible/pulls/40","html_url":"https://github.com/jedelman8/nxos-ansible/pull/40","diff_url":"https://github.com/jedelman8/nxos-ansible/pull/40.diff","patch_url":"https://github.com/jedelman8/nxos-ansible/pull/40.patch"},"body":"Hey there,\r\nhere I tried to combine nxos_get_interface and nxos_get_ipv4_interface. In order to do so, I added a  `detail ` param which will return the previous nxos_get_interface output (stats and so on) if  `detail=true ` while it'll return the previous nxos_get_ipv4_interface output if  `detail=false`.\r\n\r\nI noticed this supports only the complete interface name. I think I can easily add the support for some abbreviation like Eth0/0, so let me know if you want this.\r\nMoreover, this still supports ethernet interfaces only. Let me know if you want me to add support for more interface types as well :)"},"comment":{"url":"https://api.github.com/repos/jedelman8/nxos-ansible/issues/comments/168308290","html_url":"https://github.com/jedelman8/nxos-ansible/pull/40#issuecomment-168308290","issue_url":"https://api.github.com/repos/jedelman8/nxos-ansible/issues/40","id":168308290,"user":{"login":"GGabriele","id":4542862,"avatar_url":"https://avatars.githubusercontent.com/u/4542862?v=3","gravatar_id":"","url":"https://api.github.com/users/GGabriele","html_url":"https://github.com/GGabriele","followers_url":"https://api.github.com/users/GGabriele/followers","following_url":"https://api.github.com/users/GGabriele/following{/other_user}","gists_url":"https://api.github.com/users/GGabriele/gists{/gist_id}","starred_url":"https://api.github.com/users/GGabriele/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GGabriele/subscriptions","organizations_url":"https://api.github.com/users/GGabriele/orgs","repos_url":"https://api.github.com/users/GGabriele/repos","events_url":"https://api.github.com/users/GGabriele/events{/privacy}","received_events_url":"https://api.github.com/users/GGabriele/received_events","type":"User","site_admin":false},"created_at":"2016-01-01T13:54:28Z","updated_at":"2016-01-01T13:54:28Z","body":"Nothing really specific, just the main structure.\r\n\r\nWhat about `l2_properties` and `l3_properties` ?"}}