'run oadm manage-node --list-pods'

def list_pods(self):

    _nodes = self.config.config_options['node']['value']
    _selector = self.config.config_options['selector']['value']
    _pod_selector = self.config.config_options['pod_selector']['value']
    if (not _nodes):
        _nodes = self.get_nodes(selector=_selector)
    else:
        _nodes = [{'name': name} for name in _nodes]
    all_pods = {}
    for node in _nodes:
        results = self.get_pods_from_node(node['name'], pod_selector=_pod_selector)
        if isinstance(results, dict):
            return results
        all_pods[node['name']] = results
    results = {}
    results['nodes'] = all_pods
    results['returncode'] = 0
    return results
