{"action":"created","issue":{"url":"https://api.github.com/repos/libuparayil/networking-huawei/issues/13","repository_url":"https://api.github.com/repos/libuparayil/networking-huawei","labels_url":"https://api.github.com/repos/libuparayil/networking-huawei/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/libuparayil/networking-huawei/issues/13/comments","events_url":"https://api.github.com/repos/libuparayil/networking-huawei/issues/13/events","html_url":"https://github.com/libuparayil/networking-huawei/issues/13","id":153757476,"number":13,"title":"in __callBack__ \"data\" not used, can be removed","user":{"login":"sree900894","id":18006903,"avatar_url":"https://avatars.githubusercontent.com/u/18006903?v=3","gravatar_id":"","url":"https://api.github.com/users/sree900894","html_url":"https://github.com/sree900894","followers_url":"https://api.github.com/users/sree900894/followers","following_url":"https://api.github.com/users/sree900894/following{/other_user}","gists_url":"https://api.github.com/users/sree900894/gists{/gist_id}","starred_url":"https://api.github.com/users/sree900894/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sree900894/subscriptions","organizations_url":"https://api.github.com/users/sree900894/orgs","repos_url":"https://api.github.com/users/sree900894/repos","events_url":"https://api.github.com/users/sree900894/events{/privacy}","received_events_url":"https://api.github.com/users/sree900894/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-05-09T11:37:06Z","updated_at":"2016-05-09T11:40:08Z","closed_at":null,"body":"\r\ndata not used in the below method can be removed, ensure that in the caller also necessary changes are done\r\n\r\n    def __callBack__(self, errorCode, reason, status, **data=None**):\r\n        if status == requests.codes.ok and reason is None:\r\n            if errorCode != '0':\r\n                LOG.debug(\"Raise mechanism driver error.\")\r\n                raise ml2_exc.MechanismDriverError(method='__callBack__')\r\n        elif status == requests.codes.no_content:\r\n            pass\r\n        else:\r\n            LOG.debug(\"Raise mechanism driver error.\")\r\n            raise ml2_exc.MechanismDriverError(method='__callBack__')\r\n\r\nhttps://github.com/libuparayil/networking-huawei/blob/f6cc08324be953492e58dc31f10639e980d11be4/networking_huawei/plugins/ml2/ac/driver.py#L627"},"comment":{"url":"https://api.github.com/repos/libuparayil/networking-huawei/issues/comments/217842129","html_url":"https://github.com/libuparayil/networking-huawei/issues/13#issuecomment-217842129","issue_url":"https://api.github.com/repos/libuparayil/networking-huawei/issues/13","id":217842129,"user":{"login":"sree900894","id":18006903,"avatar_url":"https://avatars.githubusercontent.com/u/18006903?v=3","gravatar_id":"","url":"https://api.github.com/users/sree900894","html_url":"https://github.com/sree900894","followers_url":"https://api.github.com/users/sree900894/followers","following_url":"https://api.github.com/users/sree900894/following{/other_user}","gists_url":"https://api.github.com/users/sree900894/gists{/gist_id}","starred_url":"https://api.github.com/users/sree900894/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sree900894/subscriptions","organizations_url":"https://api.github.com/users/sree900894/orgs","repos_url":"https://api.github.com/users/sree900894/repos","events_url":"https://api.github.com/users/sree900894/events{/privacy}","received_events_url":"https://api.github.com/users/sree900894/received_events","type":"User","site_admin":false},"created_at":"2016-05-09T11:40:08Z","updated_at":"2016-05-09T11:40:08Z","body":"applicable for default_security_group_rest_callback method also"}}