Just started playing with 2.0.1 and it seems the _CIDR function is missing from utils.py?
Took a look in there, and the _IP function exists but not _CIDR .. Copy and pasting the
function out of the 2.0.0 branch fixes it, but I'm gonna assume it's missing for a
reason ;-)
Starting cobbler daemon: cannot import name _CIDR
Traceback (most recent call last):
File "/usr/bin/cobblerd", line 76, in main
api = cobbler_api.BootAPI(is_cobblerd=True)
File "/usr/lib/python2.4/site-packages/cobbler/api.py", line 121, in __init__
module_loader.load_modules()
File "/usr/lib/python2.4/site-packages/cobbler/module_loader.py", line 64, in
load_modules
blip = __import__("modules.%s" % ( modname), globals(), locals(),
[modname])
File "/usr/lib/python2.4/site-packages/cobbler/modules/cli_network.py", line
31, in ?
from utils import _, _IP, _CIDR
ImportError: cannot import name _CIDR
Glenn E. Bailey III, Operational Support Services gbailey(a)terremark.com
972-827-4292
terremark worldwide
222 W Las Colinas Blvd Ste 350E
Irving, TX 75039