Changeset ba07149 for fedd/federation
- Timestamp:
- Apr 9, 2014 9:54:09 AM (11 years ago)
- Branches:
- master
- Children:
- c259a77
- Parents:
- d846cbe
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
fedd/federation/desktop_access.py
rd846cbe rba07149 253 253 if len(c.interface) > 1: 254 254 raise service_error(service_error.req, 255 " Desktop Node has more than one interface")255 "Topology: Desktop Node has more than one interface") 256 256 i = c.interface[0] 257 257 if len(i.subs) > 1: 258 258 raise service_error(service_error.req, 259 "Desktop Node has more than one substate on interface") 259 "Topology: Desktop Node has more than " +\ 260 "one substate on interface") 260 261 sub = i.subs[0] 261 262 for i in sub.interfaces: 262 263 if i.element not in comps: 263 264 raise service_error(service_error.req, 264 " Desktop Node connected to non-portal")265 "Topology: Desktop Node connected to non-portal") 265 266 266 267 if portals > 1:
Note: See TracChangeset
for help on using the changeset viewer.