Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 2014-06-26 11:45:26,321 script(Cisco.IOS.get_interface_status,MO_NAME,**{'interface': u'Vl 111'}) failed: <class 'noc.sa.interfaces.base.InterfaceTypeError'>
- DictParameter: {'interface': 'VLAN-730 for Gi4/8.730', 'status': True}. Invalid value for 'interface': Invalid interface 'VLAN-730 for Gi4/8.730'
- START OF TRACEBACK
- ------------------------------------------------------------------------
- File: /opt/noc/sa/interfaces/base.py (Line: 48)
- Function: raise_error
- 41 :param value: Value where error detected
- 42 :type value: Arbitrary python type
- 43 :param msg: Optional message
- 44 :type msg: String
- 45 :raises InterfaceTypeError
- 46 """
- 47 raise InterfaceTypeError("%s: %s. %s" % (self.__class__.__name__,
- 48 ==> repr(value), msg))
- 49
- 50 def clean(self, value):
- 51 """
- 52 Input parameter normalization
- 53
- 54 :param value: Input parameter
- Variables:
- msg =
- "Invalid value for 'interface': Invalid interface 'VLAN-730 for Gi4/8.730'"
- self = <noc.sa.interfaces.base.DictParameter object at 0x7f7d2ce14410>
- value = {'interface': 'VLAN-730 for Gi4/8.730', 'status': True}
- ------------------------------------------------------------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement