

def get(self, name):
    'Returns a Port-Channel interface as a set of key/value pairs\n\n        Args:\n            name (str): The interface identifier to retrieve from the\n                running-configuration\n\n        Returns:\n            A Python dictionary object of key/value pairs that represents\n            the interface configuration.  If the specified interface\n            does not exist, then None is returned::\n\n                {\n                    "name": <string>,\n                    "type": "portchannel",\n                    "members": <arrary of interface names>,\n                    "minimum_links: <integer>,\n                    "lacp_mode": [on, active, passive]\n                }\n\n        '
    config = self.get_block(('^interface %s' % name))
    if (not config):
        return None
    response = super(PortchannelInterface, config).get(name)
    response.update(dict(name=name, type='portchannel'))
    response['members'] = self.get_members(name)
    response['lacp_mode'] = self.get_lacp_mode(name)
    response.update(self._parse_minimum_links(config))
    return response

dataset/ETHPy150Open arista-eosplus/pyeapi/pyeapi/api/interfaces.py PortchannelInterface.get/VarMisuse@45/265 `self`->`config`