from PLC.v42Legacy import patch
-from PLC.v42LegacyTypes import v42rename, v43rename
+from PLC.v42LegacyNodeNetworkSettingTypes import v42rename, v43rename
from PLC.Methods.AddTagType import AddTagType
class AddNodeNetworkSettingType(AddTagType):
""" Legacy version of AddTagType. """
--- /dev/null
+
+from PLC.v42Legacy import patch
+from PLC.v42LegacySliceAttributes import v42rename, v43rename
+from PLC.Methods.AddSliceTag import AddSliceTag
+class AddSliceAttribute(AddSliceTag):
+ """ Legacy version of AddSliceTag. """
+ skip_typecheck = True
+ status = "deprecated"
+ def call(self, auth, *args, **kwds):
+ newargs=[patch(x,v42rename) for x in args]
+ newkwds=dict ( [ (k,patch(v,v42rename)) for (k,v) in kwds.iteritems() ] )
+ results = AddSliceTag.call(self,auth,*newargs,**newkwds)
+ return patch(results,v43rename)
from PLC.v42Legacy import patch
-from PLC.v42LegacyTypes import v42rename, v43rename
+from PLC.v42LegacyAttributeTypes import v42rename, v43rename
from PLC.Methods.AddTagType import AddTagType
class AddSliceAttributeType(AddTagType):
""" Legacy version of AddTagType. """
from PLC.v42Legacy import patch
-from PLC.v42LegacyTypes import v42rename, v43rename
+from PLC.v42LegacyNodeNetworkSettingTypes import v42rename, v43rename
from PLC.Methods.DeleteTagType import DeleteTagType
class DeleteNodeNetworkSettingType(DeleteTagType):
""" Legacy version of DeleteTagType. """
--- /dev/null
+
+from PLC.v42Legacy import patch
+from PLC.v42LegacySliceAttributes import v42rename, v43rename
+from PLC.Methods.DeleteSliceTag import DeleteSliceTag
+class DeleteSliceAttribute(DeleteSliceTag):
+ """ Legacy version of DeleteSliceTag. """
+ skip_typecheck = True
+ status = "deprecated"
+ def call(self, auth, *args, **kwds):
+ newargs=[patch(x,v42rename) for x in args]
+ newkwds=dict ( [ (k,patch(v,v42rename)) for (k,v) in kwds.iteritems() ] )
+ results = DeleteSliceTag.call(self,auth,*newargs,**newkwds)
+ return patch(results,v43rename)
from PLC.v42Legacy import patch
-from PLC.v42LegacyTypes import v42rename, v43rename
+from PLC.v42LegacyAttributeTypes import v42rename, v43rename
from PLC.Methods.DeleteTagType import DeleteTagType
class DeleteSliceAttributeType(DeleteTagType):
""" Legacy version of DeleteTagType. """
from PLC.v42Legacy import patch
-from PLC.v42LegacyTypes import v42rename, v43rename
+from PLC.v42LegacyNodeNetworkSettingTypes import v42rename, v43rename
from PLC.Methods.GetTagTypes import GetTagTypes
class GetNodeNetworkSettingTypes(GetTagTypes):
""" Legacy version of GetTagTypes. """
from PLC.v42Legacy import patch
-from PLC.v42LegacyTypes import v42rename, v43rename
+from PLC.v42LegacyAttributeTypes import v42rename, v43rename
from PLC.Methods.GetTagTypes import GetTagTypes
class GetSliceAttributeTypes(GetTagTypes):
""" Legacy version of GetTagTypes. """
--- /dev/null
+
+from PLC.v42Legacy import patch
+from PLC.v42LegacySliceAttributes import v42rename, v43rename
+from PLC.Methods.GetSliceTags import GetSliceTags
+class GetSliceAttributes(GetSliceTags):
+ """ Legacy version of GetSliceTags. """
+ skip_typecheck = True
+ status = "deprecated"
+ def call(self, auth, *args, **kwds):
+ newargs=[patch(x,v42rename) for x in args]
+ newkwds=dict ( [ (k,patch(v,v42rename)) for (k,v) in kwds.iteritems() ] )
+ results = GetSliceTags.call(self,auth,*newargs,**newkwds)
+ return patch(results,v43rename)
from PLC.v42Legacy import patch
-from PLC.v42LegacyTypes import v42rename, v43rename
+from PLC.v42LegacyNodeNetworkSettingTypes import v42rename, v43rename
from PLC.Methods.UpdateTagType import UpdateTagType
class UpdateNodeNetworkSettingType(UpdateTagType):
""" Legacy version of UpdateTagType. """
--- /dev/null
+
+from PLC.v42Legacy import patch
+from PLC.v42LegacySliceAttributes import v42rename, v43rename
+from PLC.Methods.UpdateSliceTag import UpdateSliceTag
+class UpdateSliceAttribute(UpdateSliceTag):
+ """ Legacy version of UpdateSliceTag. """
+ skip_typecheck = True
+ status = "deprecated"
+ def call(self, auth, *args, **kwds):
+ newargs=[patch(x,v42rename) for x in args]
+ newkwds=dict ( [ (k,patch(v,v42rename)) for (k,v) in kwds.iteritems() ] )
+ results = UpdateSliceTag.call(self,auth,*newargs,**newkwds)
+ return patch(results,v43rename)
from PLC.v42Legacy import patch
-from PLC.v42LegacyTypes import v42rename, v43rename
+from PLC.v42LegacyAttributeTypes import v42rename, v43rename
from PLC.Methods.UpdateTagType import UpdateTagType
class UpdateSliceAttributeType(UpdateTagType):
""" Legacy version of UpdateTagType. """
AddSession
AddSiteAddress
AddSite
+AddSliceAttribute
AddSliceAttributeType
AddSliceInstantiation
AddSlice
DeleteRole
DeleteSession
DeleteSite
+DeleteSliceAttribute
DeleteSliceAttributeType
DeleteSliceFromNodes
DeleteSliceFromNodesWhitelist
GetSession
GetSessions
GetSites
+GetSliceAttributes
GetSliceAttributeTypes
GetSliceInstantiations
GetSliceKeys
UpdatePeer
UpdatePerson
UpdateSite
+UpdateSliceAttribute
UpdateSliceAttributeType
UpdateSlice
UpdateSliceTag
Table
TagTypes
v42LegacyNodeNetworkSettings
+v42LegacyNodeNetworkSettingTypes
v42LegacyNodeNetworks
v42Legacy
-v42LegacyTypes
+v42LegacySliceAttributes
+v42LegacySliceAttributeTypes
""".split()
--- /dev/null
+# $Id: $
+
+# mapping of argument/return names for *NodeNetworkSettingType*
+v42_to_v43_argmap = { "name":"tagname",
+ "nodenetwork_setting_type_id": "tag_type_id",
+ }
+v43_to_v42_argmap = dict([ (v,k) for k,v in v42_to_v43_argmap.iteritems()])
+
+def v42rename (x): return v42_to_v43_argmap.get(x,x)
+def v43rename (x): return v43_to_v42_argmap.get(x,x)
--- /dev/null
+# $Id: $
+
+# mapping of argument/return names for *SliceAttributeType* calls
+
+v42_to_v43_argmap = { "name":"tagname",
+ "slice_attribute_id":"slice_tag_id",
+ "attribute_type_id":"tag_type_id",
+ }
+v43_to_v42_argmap = dict([ (v,k) for k,v in v42_to_v43_argmap.iteritems()])
+
+def v42rename (x): return v42_to_v43_argmap.get(x,x)
+def v43rename (x): return v43_to_v42_argmap.get(x,x)
# $Id: $
# mapping of argument/return names for *{SliceAttribute,NetworkSetting}Type* and *TagType* calls
-v42_to_v43_argmap = { "name":"tagname" }
+
+v42_to_v43_argmap = { "name":"tagname",
+ "slice_attribute_id":"slice_tag_id",
+ }
v43_to_v42_argmap = dict([ (v,k) for k,v in v42_to_v43_argmap.iteritems()])
def v42rename (x): return v42_to_v43_argmap.get(x,x)