Changeset 188 for etherws/trunk
- Timestamp:
- 07/30/12 19:37:12 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
etherws/trunk/etherws.py
r187 r188 530 530 531 531 def handle_listPort(self, params): 532 list_ = [] 533 for port in self._switch.portlist: 534 list_.append(self._portstat(port)) 532 list_ = [self._portstat(p) for p in self._switch.portlist] 535 533 return {'portlist': list_} 536 534
Note: See TracChangeset
for help on using the changeset viewer.