- Timestamp:
- Jan 15, 2017, 10:25:04 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tools/gformat.py
r13696 r13705 219 219 datadump[key]['autogen_bridge_member'] = datadump[key].has_key('parent') 220 220 datadump[key]['autogen_bridge'] = datadump[key]['autogen_ifbase'].startswith('bridge') 221 222 if datadump[key].has_key('parent'): 223 if datadump[key].has_key('ip'): 224 raise ValueError("Interface bridge member cannot have IP assigned") 225 if datadump[key].has_key('dhcp') and datadump[key]['dhcp'] != False: 226 raise ValueError("Interface bridge member cannot have DHCP set") 221 227 222 228 if datadump[key].has_key('ip'):
Note:
See TracChangeset
for help on using the changeset viewer.