{"action":"created","comment":{"url":"https://api.github.com/repos/oneconvergence/group-based-policy/pulls/comments/52837819","id":52837819,"diff_hunk":"@@ -0,0 +1,705 @@\n+import os\n+import time\n+import sys\n+import copy\n+import threading\n+\n+import eventlet\n+eventlet.monkey_patch()\n+\n+from multiprocessing.queues import Queue\n+from Queue import Empty, Full\n+from multiprocessing import Process, Queue, Lock\n+import multiprocessing as multiprocessing\n+\n+from neutron.agent.common import config\n+from neutron.common import config as common_config\n+from neutron import context\n+from neutron.agent import rpc as agent_rpc\n+\n+from gbpservice.neutron.nsf.core import cfg as core_cfg\n+from gbpservice.neutron.nsf.core import lb as core_lb\n+from gbpservice.neutron.nsf.core import threadpool as core_tp\n+from gbpservice.neutron.nsf.core import periodic_task as core_periodic_task\n+from gbpservice.neutron.nsf.core import queue as core_queue\n+\n+from neutron.common import rpc as n_rpc\n+\n+from oslo_log import log as logging\n+from oslo_config import cfg\n+from oslo_service import periodic_task as oslo_periodic_task\n+from oslo_service import loopingcall\n+from oslo_service import service as os_service\n+\n+LOG = logging.getLogger(__name__)\n+\n+process = os.getpid()\n+\n+\n+def is_class(obj):\n+    return 'class' in str(type(obj))\n+\n+\n+def name(obj):\n+    if callable(obj):\n+        return \"{0}.{1}.{2}\".format(\n+            type(obj.im_self).__module__,\n+            type(obj.im_self).__name__,\n+            obj.__name__)\n+    elif is_class(obj):\n+        return \"{0}.{1}\".format(\n+            type(obj).__module__,\n+            type(obj).__name__)\n+    else:\n+        return obj.__name__\n+\n+\n+def identify(obj):\n+    try:\n+        return \"(%s)\" % (name(obj))\n+    except:\n+        return \"\"\n+\n+\n+class AgentReportState(object):\n+\n+    def __init__(self, agent_state):\n+        self._context = context.get_admin_context_without_session()\n+        self._agent_state = agent_state\n+        self._report_topic = agent_state['plugin_topic']\n+        self._report_interval = agent_state['report_interval']\n+        self._state_rpc = agent_rpc.PluginReportStateAPI(\n+            self._report_topic)\n+\n+    def report_state(self):\n+        try:\n+            LOG.debug(_(\"Reporting state \", self._agent_state))\n+            self._state_rpc.report_state(self._context, self._agent_state)\n+            self._agent_state.pop('start_flag', None)\n+        except AttributeError:\n+            # This means the server does not support report_state\n+            LOG.warn(_(\"Neutron server does not support state report.\"\n+                       \" Agent State reporting will be \"\n+                       \"disabled.\"))\n+            self._heartbeat.stop()\n+            return\n+        except Exception:\n+            LOG.exception(_(\"Stopped reporting agent state!\"))\n+\n+\n+class RpcAgent(n_rpc.Service):\n+\n+    def __init__(\n+            self, sc, host=None,\n+            topic=None, manager=None, report_state=None):\n+        super(RpcAgent, self).__init__(host=host, topic=topic, manager=manager)\n+        if report_state:\n+            self._report_state = AgentReportState(self.report_state)\n+\n+    def start(self):\n+        LOG.debug(_(\"RPCAgent listening on %s\" % (self.identify)))\n+        super(RpcAgent, self).start()\n+\n+    def report_state(self):\n+        if hasattr(self, '_report_state'):\n+            LOG.debug(_(\"Agent (%s) reporting state\" % (self.identify())))\n+            self._report_state.report_state()\n+\n+    def identify(self):\n+        return \"(host=%s,topic=%s)\" % (self.host, self.topic)\n+\n+\n+class RpcAgents(object):\n+\n+    def __init__(self):\n+        self.services = []\n+        self.launchers = []\n+\n+    def add(self, agents):\n+        for agent in agents:\n+            LOG.debug(_(\"New RPC Agent %s\" % (agent.identify())))\n+        self.services.extend(agents)\n+\n+    def launch(self):\n+        for s in self.services:\n+            LOG.debug(_(\"Launching a rpc service %s\" % (s.identify())))\n+            l = os_service.launch(cfg.CONF, s)\n+            self.launchers.extend([l])\n+\n+    def wait(self):\n+        for l in self.launchers:\n+            l.wait()\n+\n+    def report_state(self):\n+        for agent in self.services:\n+            agent.report_state()\n+\n+\n+class ReportStateTask(oslo_periodic_task.PeriodicTasks):\n+\n+    def __init__(self, sc):\n+        super(ReportStateTask, self).__init__(cfg.CONF)\n+        self._sc = sc\n+        pulse = loopingcall.FixedIntervalLoopingCall(\n+            self.run_periodic_tasks, None, None)\n+        pulse.start(interval=cfg.CONF.reportstate_interval, initial_delay=None)\n+\n+    @oslo_periodic_task.periodic_task(spacing=5)\n+    def report_state(self, context):\n+        LOG.debug(_(\"Report state task invoked !\"))\n+        self._sc.report_state()\n+\n+\n+class PeriodicTask(oslo_periodic_task.PeriodicTasks):\n+\n+    def __init__(self, sc):\n+        super(PeriodicTask, self).__init__(cfg.CONF)\n+        self._sc = sc\n+        pulse = loopingcall.FixedIntervalLoopingCall(\n+            self.run_periodic_tasks, None, None)\n+        pulse.start(interval=cfg.CONF.periodic_interval, initial_delay=None)\n+\n+    @oslo_periodic_task.periodic_task(spacing=1)\n+    def periodic_sync_task(self, context):\n+        LOG.debug(_(\"Periodic sync task invoked !\"))\n+        self._sc.timeout()\n+\n+\n+class Event(object):\n+\n+    def __init__(self, **kwargs):\n+        self.serialize = kwargs.get(\n+            'serialize') if 'serialize' in kwargs else False\n+        self.binding_key = kwargs.get(\n+            'binding_key') if 'binding_key' in kwargs else None\n+        self.id = kwargs.get('id')\n+        self.key = kwargs.get('key')\n+        self.data = kwargs.get('data') if 'data' in kwargs else None\n+        self.handler = kwargs.get('handler') if 'handler' in kwargs else None\n+        self.poll_event = None  # Not to be used by user\n+        self.worker_attached = None  # Not to be used by user\n+        self.last_run = None  # Not to be used by user\n+        self.max_times = -1  # Not to be used by user\n+\n+    def identify(self):\n+        return \"(id=%s,key=%s)\" % (self.id, self.key)\n+\n+\n+class EventCache(object):\n+\n+    def __init__(self, sc):\n+        self._sc = sc\n+        self._cache = core_queue.Queue(sc)\n+\n+    def rem(self, ev):\n+        self._cache.remove([ev])\n+\n+    def rem_multi(self, evs):\n+        self._cache.remove(evs)\n+\n+    def add(self, ev):\n+        self._cache.put(ev)\n+\n+    def copy(self):\n+        return self._cache.copy()\n+\n+\n+class Serializer(object):\n+\n+    def __init__(self, sc):\n+        self._sc = sc\n+        '''\n+        {'pid':{'binding_key':{'in_use':True, 'queue':[]}}}\n+        '''\n+        self._serializer_map = {}\n+\n+    def serialize(self, ev):\n+        queued = False\n+        LOG.debug(_(\"Serialize event %s\" % (ev.identify())))\n+        self._sc.lock()\n+        if ev.worker_attached not in self._serializer_map:\n+            self._serializer_map[ev.worker_attached] = {}\n+        mapp = self._serializer_map[ev.worker_attached]\n+        if ev.binding_key in mapp.keys():\n+            queued = True\n+            LOG.debug(_(\n+                \"There is already an event in progress\"\n+                \"Queueing event %s\" % (ev.identify())))\n+\n+            mapp[ev.binding_key]['queue'].append(ev)\n+        else:\n+            LOG.debug(_(\n+                \"Scheduling first event to exec\"\n+                \"Event %s\" % (ev.identify())))\n+            mapp[ev.binding_key] = {'in_use': True, 'queue': []}\n+        self._sc.unlock()\n+        return queued\n+\n+    def deserialize(self, ev):","path":"gbpservice/neutron/nsf/core/main.py","position":238,"original_position":238,"commit_id":"55c699df2d1362d058613f3c4390a7040b3f2a4a","original_commit_id":"55c699df2d1362d058613f3c4390a7040b3f2a4a","user":{"login":"hemanthravi","id":1445038,"avatar_url":"https://avatars.githubusercontent.com/u/1445038?v=3","gravatar_id":"","url":"https://api.github.com/users/hemanthravi","html_url":"https://github.com/hemanthravi","followers_url":"https://api.github.com/users/hemanthravi/followers","following_url":"https://api.github.com/users/hemanthravi/following{/other_user}","gists_url":"https://api.github.com/users/hemanthravi/gists{/gist_id}","starred_url":"https://api.github.com/users/hemanthravi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hemanthravi/subscriptions","organizations_url":"https://api.github.com/users/hemanthravi/orgs","repos_url":"https://api.github.com/users/hemanthravi/repos","events_url":"https://api.github.com/users/hemanthravi/events{/privacy}","received_events_url":"https://api.github.com/users/hemanthravi/received_events","type":"User","site_admin":false},"body":"Is this supposed to be cleanup? Rename to cleanup?","created_at":"2016-02-14T04:36:00Z","updated_at":"2016-02-14T04:36:00Z","html_url":"https://github.com/oneconvergence/group-based-policy/pull/48#discussion_r52837819","pull_request_url":"https://api.github.com/repos/oneconvergence/group-based-policy/pulls/48","_links":{"self":{"href":"https://api.github.com/repos/oneconvergence/group-based-policy/pulls/comments/52837819"},"html":{"href":"https://github.com/oneconvergence/group-based-policy/pull/48#discussion_r52837819"},"pull_request":{"href":"https://api.github.com/repos/oneconvergence/group-based-policy/pulls/48"}}},"pull_request":{"url":"https://api.github.com/repos/oneconvergence/group-based-policy/pulls/48","id":56609549,"html_url":"https://github.com/oneconvergence/group-based-policy/pull/48","diff_url":"https://github.com/oneconvergence/group-based-policy/pull/48.diff","patch_url":"https://github.com/oneconvergence/group-based-policy/pull/48.patch","issue_url":"https://api.github.com/repos/oneconvergence/group-based-policy/issues/48","number":48,"state":"open","locked":false,"title":"Multi process model framework - Example module in test folder","user":{"login":"mak-454","id":11626269,"avatar_url":"https://avatars.githubusercontent.com/u/11626269?v=3","gravatar_id":"","url":"https://api.github.com/users/mak-454","html_url":"https://github.com/mak-454","followers_url":"https://api.github.com/users/mak-454/followers","following_url":"https://api.github.com/users/mak-454/following{/other_user}","gists_url":"https://api.github.com/users/mak-454/gists{/gist_id}","starred_url":"https://api.github.com/users/mak-454/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mak-454/subscriptions","organizations_url":"https://api.github.com/users/mak-454/orgs","repos_url":"https://api.github.com/users/mak-454/repos","events_url":"https://api.github.com/users/mak-454/events{/privacy}","received_events_url":"https://api.github.com/users/mak-454/received_events","type":"User","site_admin":false},"body":"Multi process framework for service controller.\r\nAttached is the sample unit test case module.","created_at":"2016-01-20T13:49:17Z","updated_at":"2016-02-14T04:36:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2ec097e3bc0a985fa9c3c21f485205f4a11b8c4c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/oneconvergence/group-based-policy/pulls/48/commits","review_comments_url":"https://api.github.com/repos/oneconvergence/group-based-policy/pulls/48/comments","review_comment_url":"https://api.github.com/repos/oneconvergence/group-based-policy/pulls/comments{/number}","comments_url":"https://api.github.com/repos/oneconvergence/group-based-policy/issues/48/comments","statuses_url":"https://api.github.com/repos/oneconvergence/group-based-policy/statuses/55c699df2d1362d058613f3c4390a7040b3f2a4a","head":{"label":"oneconvergence:multi_process_framework","ref":"multi_process_framework","sha":"55c699df2d1362d058613f3c4390a7040b3f2a4a","user":{"login":"oneconvergence","id":8160602,"avatar_url":"https://avatars.githubusercontent.com/u/8160602?v=3","gravatar_id":"","url":"https://api.github.com/users/oneconvergence","html_url":"https://github.com/oneconvergence","followers_url":"https://api.github.com/users/oneconvergence/followers","following_url":"https://api.github.com/users/oneconvergence/following{/other_user}","gists_url":"https://api.github.com/users/oneconvergence/gists{/gist_id}","starred_url":"https://api.github.com/users/oneconvergence/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oneconvergence/subscriptions","organizations_url":"https://api.github.com/users/oneconvergence/orgs","repos_url":"https://api.github.com/users/oneconvergence/repos","events_url":"https://api.github.com/users/oneconvergence/events{/privacy}","received_events_url":"https://api.github.com/users/oneconvergence/received_events","type":"Organization","site_admin":false},"repo":{"id":34099604,"name":"group-based-policy","full_name":"oneconvergence/group-based-policy","owner":{"login":"oneconvergence","id":8160602,"avatar_url":"https://avatars.githubusercontent.com/u/8160602?v=3","gravatar_id":"","url":"https://api.github.com/users/oneconvergence","html_url":"https://github.com/oneconvergence","followers_url":"https://api.github.com/users/oneconvergence/followers","following_url":"https://api.github.com/users/oneconvergence/following{/other_user}","gists_url":"https://api.github.com/users/oneconvergence/gists{/gist_id}","starred_url":"https://api.github.com/users/oneconvergence/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oneconvergence/subscriptions","organizations_url":"https://api.github.com/users/oneconvergence/orgs","repos_url":"https://api.github.com/users/oneconvergence/repos","events_url":"https://api.github.com/users/oneconvergence/events{/privacy}","received_events_url":"https://api.github.com/users/oneconvergence/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/oneconvergence/group-based-policy","description":"Group Based Policy","fork":true,"url":"https://api.github.com/repos/oneconvergence/group-based-policy","forks_url":"https://api.github.com/repos/oneconvergence/group-based-policy/forks","keys_url":"https://api.github.com/repos/oneconvergence/group-based-policy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/oneconvergence/group-based-policy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/oneconvergence/group-based-policy/teams","hooks_url":"https://api.github.com/repos/oneconvergence/group-based-policy/hooks","issue_events_url":"https://api.github.com/repos/oneconvergence/group-based-policy/issues/events{/number}","events_url":"https://api.github.com/repos/oneconvergence/group-based-policy/events","assignees_url":"https://api.github.com/repos/oneconvergence/group-based-policy/assignees{/user}","branches_url":"https://api.github.com/repos/oneconvergence/group-based-policy/branches{/branch}","tags_url":"https://api.github.com/repos/oneconvergence/group-based-policy/tags","blobs_url":"https://api.github.com/repos/oneconvergence/group-based-policy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/oneconvergence/group-based-policy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/oneconvergence/group-based-policy/git/refs{/sha}","trees_url":"https://api.github.com/repos/oneconvergence/group-based-policy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/oneconvergence/group-based-policy/statuses/{sha}","languages_url":"https://api.github.com/repos/oneconvergence/group-based-policy/languages","stargazers_url":"https://api.github.com/repos/oneconvergence/group-based-policy/stargazers","contributors_url":"https://api.github.com/repos/oneconvergence/group-based-policy/contributors","subscribers_url":"https://api.github.com/repos/oneconvergence/group-based-policy/subscribers","subscription_url":"https://api.github.com/repos/oneconvergence/group-based-policy/subscription","commits_url":"https://api.github.com/repos/oneconvergence/group-based-policy/commits{/sha}","git_commits_url":"https://api.github.com/repos/oneconvergence/group-based-policy/git/commits{/sha}","comments_url":"https://api.github.com/repos/oneconvergence/group-based-policy/comments{/number}","issue_comment_url":"https://api.github.com/repos/oneconvergence/group-based-policy/issues/comments{/number}","contents_url":"https://api.github.com/repos/oneconvergence/group-based-policy/contents/{+path}","compare_url":"https://api.github.com/repos/oneconvergence/group-based-policy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/oneconvergence/group-based-policy/merges","archive_url":"https://api.github.com/repos/oneconvergence/group-based-policy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/oneconvergence/group-based-policy/downloads","issues_url":"https://api.github.com/repos/oneconvergence/group-based-policy/issues{/number}","pulls_url":"https://api.github.com/repos/oneconvergence/group-based-policy/pulls{/number}","milestones_url":"https://api.github.com/repos/oneconvergence/group-based-policy/milestones{/number}","notifications_url":"https://api.github.com/repos/oneconvergence/group-based-policy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/oneconvergence/group-based-policy/labels{/name}","releases_url":"https://api.github.com/repos/oneconvergence/group-based-policy/releases{/id}","deployments_url":"https://api.github.com/repos/oneconvergence/group-based-policy/deployments","created_at":"2015-04-17T06:06:34Z","updated_at":"2015-06-30T21:52:52Z","pushed_at":"2016-02-12T14:12:17Z","git_url":"git://github.com/oneconvergence/group-based-policy.git","ssh_url":"git@github.com:oneconvergence/group-based-policy.git","clone_url":"https://github.com/oneconvergence/group-based-policy.git","svn_url":"https://github.com/oneconvergence/group-based-policy","homepage":"http://openstack.org","size":4531,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":11,"forks":3,"open_issues":11,"watchers":0,"default_branch":"oneconvergence_service_node_driver"}},"base":{"label":"oneconvergence:master","ref":"master","sha":"c806a88f3fa172e5fa94f3e58fb074a83e6ad966","user":{"login":"oneconvergence","id":8160602,"avatar_url":"https://avatars.githubusercontent.com/u/8160602?v=3","gravatar_id":"","url":"https://api.github.com/users/oneconvergence","html_url":"https://github.com/oneconvergence","followers_url":"https://api.github.com/users/oneconvergence/followers","following_url":"https://api.github.com/users/oneconvergence/following{/other_user}","gists_url":"https://api.github.com/users/oneconvergence/gists{/gist_id}","starred_url":"https://api.github.com/users/oneconvergence/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oneconvergence/subscriptions","organizations_url":"https://api.github.com/users/oneconvergence/orgs","repos_url":"https://api.github.com/users/oneconvergence/repos","events_url":"https://api.github.com/users/oneconvergence/events{/privacy}","received_events_url":"https://api.github.com/users/oneconvergence/received_events","type":"Organization","site_admin":false},"repo":{"id":34099604,"name":"group-based-policy","full_name":"oneconvergence/group-based-policy","owner":{"login":"oneconvergence","id":8160602,"avatar_url":"https://avatars.githubusercontent.com/u/8160602?v=3","gravatar_id":"","url":"https://api.github.com/users/oneconvergence","html_url":"https://github.com/oneconvergence","followers_url":"https://api.github.com/users/oneconvergence/followers","following_url":"https://api.github.com/users/oneconvergence/following{/other_user}","gists_url":"https://api.github.com/users/oneconvergence/gists{/gist_id}","starred_url":"https://api.github.com/users/oneconvergence/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oneconvergence/subscriptions","organizations_url":"https://api.github.com/users/oneconvergence/orgs","repos_url":"https://api.github.com/users/oneconvergence/repos","events_url":"https://api.github.com/users/oneconvergence/events{/privacy}","received_events_url":"https://api.github.com/users/oneconvergence/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/oneconvergence/group-based-policy","description":"Group Based Policy","fork":true,"url":"https://api.github.com/repos/oneconvergence/group-based-policy","forks_url":"https://api.github.com/repos/oneconvergence/group-based-policy/forks","keys_url":"https://api.github.com/repos/oneconvergence/group-based-policy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/oneconvergence/group-based-policy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/oneconvergence/group-based-policy/teams","hooks_url":"https://api.github.com/repos/oneconvergence/group-based-policy/hooks","issue_events_url":"https://api.github.com/repos/oneconvergence/group-based-policy/issues/events{/number}","events_url":"https://api.github.com/repos/oneconvergence/group-based-policy/events","assignees_url":"https://api.github.com/repos/oneconvergence/group-based-policy/assignees{/user}","branches_url":"https://api.github.com/repos/oneconvergence/group-based-policy/branches{/branch}","tags_url":"https://api.github.com/repos/oneconvergence/group-based-policy/tags","blobs_url":"https://api.github.com/repos/oneconvergence/group-based-policy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/oneconvergence/group-based-policy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/oneconvergence/group-based-policy/git/refs{/sha}","trees_url":"https://api.github.com/repos/oneconvergence/group-based-policy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/oneconvergence/group-based-policy/statuses/{sha}","languages_url":"https://api.github.com/repos/oneconvergence/group-based-policy/languages","stargazers_url":"https://api.github.com/repos/oneconvergence/group-based-policy/stargazers","contributors_url":"https://api.github.com/repos/oneconvergence/group-based-policy/contributors","subscribers_url":"https://api.github.com/repos/oneconvergence/group-based-policy/subscribers","subscription_url":"https://api.github.com/repos/oneconvergence/group-based-policy/subscription","commits_url":"https://api.github.com/repos/oneconvergence/group-based-policy/commits{/sha}","git_commits_url":"https://api.github.com/repos/oneconvergence/group-based-policy/git/commits{/sha}","comments_url":"https://api.github.com/repos/oneconvergence/group-based-policy/comments{/number}","issue_comment_url":"https://api.github.com/repos/oneconvergence/group-based-policy/issues/comments{/number}","contents_url":"https://api.github.com/repos/oneconvergence/group-based-policy/contents/{+path}","compare_url":"https://api.github.com/repos/oneconvergence/group-based-policy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/oneconvergence/group-based-policy/merges","archive_url":"https://api.github.com/repos/oneconvergence/group-based-policy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/oneconvergence/group-based-policy/downloads","issues_url":"https://api.github.com/repos/oneconvergence/group-based-policy/issues{/number}","pulls_url":"https://api.github.com/repos/oneconvergence/group-based-policy/pulls{/number}","milestones_url":"https://api.github.com/repos/oneconvergence/group-based-policy/milestones{/number}","notifications_url":"https://api.github.com/repos/oneconvergence/group-based-policy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/oneconvergence/group-based-policy/labels{/name}","releases_url":"https://api.github.com/repos/oneconvergence/group-based-policy/releases{/id}","deployments_url":"https://api.github.com/repos/oneconvergence/group-based-policy/deployments","created_at":"2015-04-17T06:06:34Z","updated_at":"2015-06-30T21:52:52Z","pushed_at":"2016-02-12T14:12:17Z","git_url":"git://github.com/oneconvergence/group-based-policy.git","ssh_url":"git@github.com:oneconvergence/group-based-policy.git","clone_url":"https://github.com/oneconvergence/group-based-policy.git","svn_url":"https://github.com/oneconvergence/group-based-policy","homepage":"http://openstack.org","size":4531,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":11,"forks":3,"open_issues":11,"watchers":0,"default_branch":"oneconvergence_service_node_driver"}},"_links":{"self":{"href":"https://api.github.com/repos/oneconvergence/group-based-policy/pulls/48"},"html":{"href":"https://github.com/oneconvergence/group-based-policy/pull/48"},"issue":{"href":"https://api.github.com/repos/oneconvergence/group-based-policy/issues/48"},"comments":{"href":"https://api.github.com/repos/oneconvergence/group-based-policy/issues/48/comments"},"review_comments":{"href":"https://api.github.com/repos/oneconvergence/group-based-policy/pulls/48/comments"},"review_comment":{"href":"https://api.github.com/repos/oneconvergence/group-based-policy/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/oneconvergence/group-based-policy/pulls/48/commits"},"statuses":{"href":"https://api.github.com/repos/oneconvergence/group-based-policy/statuses/55c699df2d1362d058613f3c4390a7040b3f2a4a"}}}}