Revision 6a439d95 snf-cyclades-app/synnefo/management/pprint.py
b/snf-cyclades-app/synnefo/management/pprint.py | ||
---|---|---|
135 | 135 |
info = OrderedDict([("ID", subnet.id), |
136 | 136 |
("Network_ID", subnet.network.id), |
137 | 137 |
# If a user names his subnet "-", what happens then? |
138 |
("User_ID", subnet.userid), |
|
138 | 139 |
("Name", "-" if subnet.name == "" else subnet.name), |
139 | 140 |
("IP_Version", subnet.ipversion), |
140 | 141 |
("CIDR", subnet.cidr), |
141 | 142 |
("Gateway", subnet.gateway), |
143 |
("Public", subnet.public), |
|
142 | 144 |
("DHCP/SLAAC", subnet.dhcp), |
143 | 145 |
("Host_Routes", subnet.host_routes), |
144 | 146 |
("DNS_Nameservers", subnet.dns_nameservers)]) |
Also available in: Unified diff