Revision aab200c6

b/docs/admin-guide.rst
1203 1203
queue-retry                    Resend messages from Dead Letter queues to original exchanges
1204 1204
resource-export-cyclades       Export Cyclades resources in JSON format.
1205 1205
service-export-cyclades        Export Cyclades services in JSON format.
1206
subnet-create                  Create a subnet
1207
subnet-inspect                 Inspect a subnet in DB
1208
subnet-list                    List subnets
1209
subnet-modify                  Modify a subnet
1206 1210
reconcile-servers              Reconcile servers of Synnefo DB with state of Ganeti backend
1207 1211
reconcile-networks             Reconcile networks of Synnefo DB with state of Ganeti backend
1208 1212
reconcile-pools                Check consistency of pool resources
b/snf-cyclades-app/synnefo/management/pprint.py
153 153
    if stdout is None:
154 154
        stdout = sys.stdout
155 155

  
156
    stdout.write("IP Pools of subnet %s" % subnet.id)
156
    stdout.write("IP Pools of subnet %s:\n\n" % subnet.id)
157 157

  
158 158
    for pool in subnet.get_ip_pools():
159 159
        size = pool.pool_size
......
163 163
                            ("Size", size),
164 164
                            ("Available", available)])
165 165
        pprint_table(stdout, info.items(), None, separator=" | ", title=None)
166
        stdout.write(bitarray_to_map(pool.available[:size]))
166
        pprint_pool(None, bitarray_to_map(pool.available[:size]), 80, stdout)
167 167
        stdout.write("\n\n")
168 168

  
169 169

  

Also available in: Unified diff