sfa-0.9-17 tag
[sfa.git] / sfa / client / sfiListNodes.py
1 #! /usr/bin/env python
2
3 import sys
4 from sfa.util.rspecHelper import RSpec, Commands
5
6 command = Commands(usage="%prog [options]",
7                    description="List all nodes in the RSpec. " + 
8                    "Use this to display the list of nodes on which it is " + 
9                    "possible to create a slice.")
10 command.prep()
11
12 nodes = command.rspec.get_node_list()
13 for node in nodes:
14     print node
15
16
17