Hello,
XMLRPC call new_subprofile doesn't exist in version 1.7. Even though
new_profile can handle creating sub_profiles in the new code we should
provide the old method for backwards compatibility.
http://fedorapeople.org/gitweb?p=bpeck/public_git/cobbler.git;a=commit;h=...
commit 801fcfe895ffa328ca42232a405e94f84382f522
Author: Bill Peck<bpeck(a)redhat.com>
Date: Tue Aug 11 13:08:55 2009 -0400
backwards compatible new_subprofile call
diff --git a/cobbler/remote.py b/cobbler/remote.py
index e46e34b..f951acd 100644
--- a/cobbler/remote.py
+++ b/cobbler/remote.py
@@ -717,6 +717,7 @@ class CobblerXMLRPCInterface:
return self.new_item("distro",token)
def new_profile(self,token):
return self.new_item("profile",token)
+ new_subprofile = new_profile
def new_system(self,token):
return self.new_item("system",token)
def new_repo(self,token):