def get_node_connectors(self, node_id):
        """Get information about NodeConnectors on the Controller and stuffs the
           result into the OpenDaylightNode.node_connectors dictionary.

            Mandatory Arguments: 
                node_id     -   returns flows just for that switch dpid
        """

        if hasattr(self, 'request'):
            del self.request
        if hasattr(self, 'node_connectors'):
            del self.node_connectors

        self.odl.prepare(self.__app, '/node/' + 'OF/' + node_id + '/')
        self.request = requests.get(url=self.odl.url, auth=self.odl.auth)
        if self.request.status_code == 200:
            self.node_connectors = self.request.json()
            if 'nodeConnectorProperties' in self.node_connectors:
                self.node_connectors = self.node_connectors.get(
                                        'nodeConnectorProperties')
        else:
            raise OpenDaylightError({'url':self.odl.url, 
                                     'http_code':self.request.status_code,
                                     'msg':self.request.text})
dataset/ETHPy150Open dwcarder/python-OpenDaylight/OpenDaylight.py/OpenDaylightNode.get_node_connectors/original