git://git.onelab.eu
/
plcapi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
- added logging variable 'object_type'
[plcapi.git]
/
PLC
/
Methods
/
AddSliceAttribute.py
diff --git
a/PLC/Methods/AddSliceAttribute.py
b/PLC/Methods/AddSliceAttribute.py
index
326370a
..
2a95505
100644
(file)
--- a/
PLC/Methods/AddSliceAttribute.py
+++ b/
PLC/Methods/AddSliceAttribute.py
@@
-37,6
+37,8
@@
class AddSliceAttribute(Method):
returns = Parameter(int, 'New slice_attribute_id (> 0) if successful')
+ object_type = 'Slice'
+
def call(self, auth, slice_id_or_name, attribute_type_id_or_name, value, node_id_or_hostname = None):
slices = Slices(self.api, [slice_id_or_name])