

def get_members(self, name):
    'Returns the member interfaces for the specified Port-Channel\n\n        Args:\n            name(str): The Port-channel interface name to return the member\n                interfaces for\n\n        Returns:\n            A list of physical interface names that belong to the specified\n                interface\n        '
    grpid = re.search('(\\d+)', name).group()
    command = ('show port-channel %s all-ports' % grpid)
    config = self.node.enable(command, 'text')
    return re.findall('\\b(?!Peer)Ethernet[\\d/]*\\b', config[0]['result']['output'])

dataset/ETHPy150Open arista-eosplus/pyeapi/pyeapi/api/interfaces.py PortchannelInterface.get_members/original