Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # -*- coding: utf-8 -*-
- ##----------------------------------------------------------------------
- ## Alcatel.AOS.get_interfaces test
- ## Auto-generated by ./noc debug-script at 23.07.2012 11:41:22
- ##----------------------------------------------------------------------
- ## Copyright (C) 2007-2012 The NOC Project
- ## See LICENSE for details
- ##----------------------------------------------------------------------
- ## NOC modules
- from noc.lib.test import ScriptTestCase
- class Alcatel_AOS_get_interfaces_Test(ScriptTestCase):
- script = "Alcatel.AOS.get_interfaces"
- vendor = "Alcatel"
- platform = "OS6850-U24X"
- version = "6.4.4.343.R01"
- input = {}
- result = u'<class \'noc.sa.interfaces.base.InterfaceTypeError\'>\nDictParameter: {\'name\': \'1/1\', \'subinterfaces\': [], \'mac\': \'00:e0:b1:88:7a:ba\', \'oper_status\': \'up\', \'admin_status\': \'up\', \'type\': \'physical\'}. Attribute \'interfaces\' is required in {\'name\': \'1/1\', \'subinterfaces\': [], \'mac\': \'00:e0:b1:88:7a:ba\', \'oper_status\': \'up\', \'admin_status\': \'up\', \'type\': \'physical\'}\nSTART OF TRACEBACK\n------------------------------------------------------------------------\nFile: /var/backups/noc/sa/interfaces/base.py (Line: 55)\nFunction: raise_error\n 48 :param value: Value where error detected\n 49 :type value: Arbitrary python type\n 50 :param msg: Optional message\n 51 :type msg: String\n 52 :raises InterfaceTypeError\n 53 """\n 54 raise InterfaceTypeError("%s: %s. %s" % (self.__class__.__name__,\n 55 ==> repr(value), msg))\n 56 \n 57 def clean(self, value):\n 58 """\n 59 Input parameter normalization\n 60 \n 61 :param value: Input parameter\nVariables:\n msg = "Attribute \'interfaces\' is required in {\'name\': \'1/1\', \'subinterfaces\': [], \'mac\': \'00:e0:b1:88:7a:ba\', \'oper_status\': \'up\', \'admin_status\': \'up\', \'type\': \'physical\'}"\n self = <noc.sa.interfaces.base.DictParameter object at 0x1218c50>\n value = {\'name\': \'1/1\', \'subinterfaces\': [], \'mac\': \'00:e0:b1:88:7a:ba\', \'oper_status\': \'up\', \'admin_status\': \'up\', \'type\': \'physical\'}\n------------------------------------------------------------------------\nFile: /var/backups/noc/sa/interfaces/base.py (Line: 669)\nFunction: clean\n 662 out_value = {}\n 663 for a_name, attr in self.attrs.items():\n 664 if a_name not in in_value and attr.required:\n 665 if attr.default is not None:\n 666 out_value[a_name] = attr.default\n 667 else:\n 668 self.raise_error(value,\n 669 ==> "Attribute \'%s\' is required in %s" % (a_name, value))\n 670 if a_name in in_value:\n 671 try:\n 672 out_value[a_name] = attr.clean(in_value[a_name])\n 673 except InterfaceTypeError, why:\n 674 self.raise_error(value,\n 675 "Invalid value for \'%s\': %s" % (a_name, why))\nVariables:\n a_name = \'interfaces\'\n attr = <noc.sa.interfaces.base.ListOfParameter object at 0x1218c10>\n self = <noc.sa.interfaces.base.DictParameter object at 0x1218c50>\n in_value = {\'mac\': \'00:e0:b1:88:7a:ba\', \'admin_status\': \'up\', \'name\': \'1/1\', \'subinterfaces\': [], \'type\': \'physical\', \'oper_status\': \'up\'}\n value = {\'name\': \'1/1\', \'subinterfaces\': [], \'mac\': \'00:e0:b1:88:7a:ba\', \'oper_status\': \'up\', \'admin_status\': \'up\', \'type\': \'physical\'}\n out_value = {}\n------------------------------------------------------------------------\nFile: /var/backups/noc/sa/interfaces/base.py (Line: 602)\nFunction: clean\n 595 def clean(self, value):\n 596 if value is None and self.default is not None:\n 597 return self.default\n 598 v = super(ListOfParameter, self).clean(value)\n 599 if self.is_list:\n 600 return [[e.clean(vv) for e, vv in zip(self.element, v)] for v in value]\n 601 else:\n 602 ==> return [self.element.clean(x) for x in v]\n 603 \n 604 def script_clean_input(self, profile, value):\n 605 if value is None and self.default is not None:\n 606 return self.default\n 607 v = super(ListOfParameter, self).script_clean_input(profile, value)\n 608 if self.is_list:\nVariables:\n x = {\'name\': \'1/1\', \'subinterfaces\': [], \'mac\': \'00:e0:b1:88:7a:ba\', \'oper_status\': \'up\', \'admin_status\': \'up\', \'type\': \'physical\'}\n _[3] = []\n self = <noc.sa.interfaces.base.ListOfParameter object at 0x1218c90>\n value = [{\'name\': \'1/1\', \'subinterfaces\': [], \'mac\': \'00:e0:b1:88:7a:ba\', \'oper_status\': \'up\', \'admin_status\': \'up\', \'type\': \'physical\'}, {\'name\': \'1/2\', \'subinterfaces\': [], \'mac\': \'00:e0:b1:88:7a:bb\', \'oper_status\': \'down\', \'admin_status\': \'down\', \'type\': \'physical\'}, {\'name\': \'1/3\', \'subinterfaces\': [], \'mac\': \'00:e0:b1:88:7a:bc\', \'oper_status\': \'up\', \'admin_status\': \'up\', \'type\': \'physical\'}, {\'name\': \'1/4\', \'subinterfaces\': [], \'mac\': \'00:e0:b1:88:7a:bd\', \'oper_status\': \'down\', \'admin_status\': \'down\', \'type\': \'physical\'}, {\'name\': \'1/5\', \'subinterfaces\': [], \'mac\': \'00:e0:b1:88:7a:be\', \'oper_status\': \'down\', \'admin_status\': \'down\', \'type\': \'physical\'}, {\'name\': \'1/6\', \'subinterfaces\': [], \'mac\': \'00:e0:b1:88:7a:bf\', \'oper_status\': \'up\', \'admin_status\': \'up\', \'type\': \'physical\'}, {\'name\': \'1/7\', \'subinterfaces\': [], \'mac\': \'00:e0:b1:88:7a:c0\', \'oper_status\': \'up\', \'admin_status\': \'up\', \'type\': \'physical\'}, {\'name\': \'1/8\', \'subinterfaces\': [], \'mac\': \'00:e0:b1:88:7a:c1\', \'oper_status\': \'up\', \'admin_status\': \'up\', \'type\': \'physical\'}, {\'name\': \'1/9\', \'subinterfaces\': [], \'mac\': \'00:e0:b1:88:7a:c2\', \'oper_status\': \'down\', \'admin_status\': \'down\', \'type\': \'physical\'}, {\'name\': \'1/10\', \'subinterfaces\': [], \'mac\': \'00:e0:b1:88:7a:c3\', \'oper_status\': \'up\', \'admin_status\': \'up\', \'type\': \'physical\'}, {\'name\': \'1/11\', \'subinterfaces\': [], \'mac\': \'00:e0:b1:88:7a:c4\', \'oper_status\': \'up\', \'admin_status\': \'up\', \'type\': \'physical\'}, {\'name\': \'1/12\', \'subinterfaces\': [], \'mac\': \'00:e0:b1:88:7a:c5\', \'oper_status\': \'up\', \'admin_status\': \'up\', \'type\': \'physical\'}, {\'name\': \'1/13\', \'subinterfaces\': [], \'mac\': \'00:e0:b1:88:7a:c6\', \'oper_status\': \'down\', \'admin_status\': \'down\', \'type\': \'physical\'}, {\'name\': \'1/14\', \'subinterfaces\': [], \'mac\': \'00:e0:b1:88:7a:c7\', \'oper_status\': \'up\', \'admin_status\': \'up\', \'type\': \'physical\'}, {\'name\': \'1/15\', \'subinterfaces\': [], \'mac\': \'00:e0:b1:88:7a:c8\', \'oper_status\': \'up\', \'admin_status\': \'up\', \'type\': \'physical\'}, {\'name\': \'1/16\', \'subinterfaces\': [], \'mac\': \'00:e0:b1:88:7a:c9\', \'oper_status\': \'up\', \'admin_status\': \'up\', \'type\': \'physical\'}, {\'name\': \'1/17\', \'subinterfaces\': [], \'mac\': \'00:e0:b1:88:7a:ca\', \'oper_status\': \'up\', \'admin_status\': \'up\', \'type\': \'physical\'}, {\'name\': \'1/18\', \'subinterfaces\': [], \'mac\': \'00:e0:b1:88:7a:cb\', \'oper_status\': \'up\', \'admin_status\': \'up\', \'type\': \'physical\'}, {\'name\': \'1/19\', \'subinterfaces\': [], \'mac\': \'00:e0:b1:88:7a:cc\', \'oper_status\': \'up\', \'admin_status\': \'up\', \'type\': \'physical\'}, {\'name\': \'1/20\', \'subinterfaces\': [], \'mac\': \'00:e0:b1:88:7a:cd\', \'oper_status\': \'up\', \'admin_status\': \'up\', \'type\': \'physical\'}, {\'name\': \'1/21\', \'subinterfaces\': [], \'mac\': \'00:e0:b1:88:7a:ce\', \'oper_status\': \'down\', \'admin_status\': \'down\', \'type\': \'physical\'}, {\'name\': \'1/22\', \'subinterfaces\': [], \'mac\': \'00:e0:b1:88:7a:cf\', \'oper_status\': \'down\', \'admin_status\': \'down\', \'type\': \'physical\'}, {\'name\': \'1/23\', \'subinterfaces\': [], \'mac\': \'00:e0:b1:88:7a:d0\', \'oper_status\': \'up\', \'admin_status\': \'up\', \'type\': \'physical\'}, {\'name\': \'1/24\', \'subinterfaces\': [], \'mac\': \'00:e0:b1:88:7a:d1\', \'oper_status\': \'up\', \'admin_status\': \'up\', \'type\': \'physical\'}, {\'name\': \'1/25\', \'subinterfaces\': [], \'mac\': \'00:e0:b1:88:7a:d2\', \'oper_status\': \'up\', \'admin_status\': \'up\', \'type\': \'physical\'}, {\'name\': \'1/26\', \'subinterfaces\': [], \'mac\': \'00:e0:b1:88:7a:d3\', \'oper_status\': \'down\', \'admin_status\': \'down\', \'type\': \'physical\'}]\n v = [{\'name\': \'1/1\', \'subinterfaces\': [], \'mac\': \'00:e0:b1:88:7a:ba\', \'oper_status\': \'up\', \'admin_status\': \'up\', \'type\': \'physical\'}, {\'name\': \'1/2\', \'subinterfaces\': [], \'mac\': \'00:e0:b1:88:7a:bb\', \'oper_status\': \'down\', \'admin_status\': \'down\', \'type\': \'physical\'}, {\'name\': \'1/3\', \'subinterfaces\': [], \'mac\': \'00:e0:b1:88:7a:bc\', \'oper_status\': \'up\', \'admin_status\': \'up\', \'type\': \'physical\'}, {\'name\': \'1/4\', \'subinterfaces\': [], \'mac\': \'00:e0:b1:88:7a:bd\', \'oper_status\': \'down\', \'admin_status\': \'down\', \'type\': \'physical\'}, {\'name\': \'1/5\', \'subinterfaces\': [], \'mac\': \'00:e0:b1:88:7a:be\', \'oper_status\': \'down\', \'admin_status\': \'down\', \'type\': \'physical\'}, {\'name\': \'1/6\', \'subinterfaces\': [], \'mac\': \'00:e0:b1:88:7a:bf\', \'oper_status\': \'up\', \'admin_status\': \'up\', \'type\': \'physical\'}, {\'name\': \'1/7\', \'subinterfaces\': [], \'mac\': \'00:e0:b1:88:7a:c0\', \'oper_status\': \'up\', \'admin_status\': \'up\', \'type\': \'physical\'}, {\'name\': \'1/8\', \'subinterfaces\': [], \'mac\': \'00:e0:b1:88:7a:c1\', \'oper_status\': \'up\', \'admin_status\': \'up\', \'type\': \'physical\'}, {\'name\': \'1/9\', \'subinterfaces\': [], \'mac\': \'00:e0:b1:88:7a:c2\', \'oper_status\': \'down\', \'admin_status\': \'down\', \'type\': \'physical\'}, {\'name\': \'1/10\', \'subinterfaces\': [], \'mac\': \'00:e0:b1:88:7a:c3\', \'oper_status\': \'up\', \'admin_status\': \'up\', \'type\': \'physical\'}, {\'name\': \'1/11\', \'subinterfaces\': [], \'mac\': \'00:e0:b1:88:7a:c4\', \'oper_status\': \'up\', \'admin_status\': \'up\', \'type\': \'physical\'}, {\'name\': \'1/12\', \'subinterfaces\': [], \'mac\': \'00:e0:b1:88:7a:c5\', \'oper_status\': \'up\', \'admin_status\': \'up\', \'type\': \'physical\'}, {\'name\': \'1/13\', \'subinterfaces\': [], \'mac\': \'00:e0:b1:88:7a:c6\', \'oper_status\': \'down\', \'admin_status\': \'down\', \'type\': \'physical\'}, {\'name\': \'1/14\', \'subinterfaces\': [], \'mac\': \'00:e0:b1:88:7a:c7\', \'oper_status\': \'up\', \'admin_status\': \'up\', \'type\': \'physical\'}, {\'name\': \'1/15\', \'subinterfaces\': [], \'mac\': \'00:e0:b1:88:7a:c8\', \'oper_status\': \'up\', \'admin_status\': \'up\', \'type\': \'physical\'}, {\'name\': \'1/16\', \'subinterfaces\': [], \'mac\': \'00:e0:b1:88:7a:c9\', \'oper_status\': \'up\', \'admin_status\': \'up\', \'type\': \'physical\'}, {\'name\': \'1/17\', \'subinterfaces\': [], \'mac\': \'00:e0:b1:88:7a:ca\', \'oper_status\': \'up\', \'admin_status\': \'up\', \'type\': \'physical\'}, {\'name\': \'1/18\', \'subinterfaces\': [], \'mac\': \'00:e0:b1:88:7a:cb\', \'oper_status\': \'up\', \'admin_status\': \'up\', \'type\': \'physical\'}, {\'name\': \'1/19\', \'subinterfaces\': [], \'mac\': \'00:e0:b1:88:7a:cc\', \'oper_status\': \'up\', \'admin_status\': \'up\', \'type\': \'physical\'}, {\'name\': \'1/20\', \'subinterfaces\': [], \'mac\': \'00:e0:b1:88:7a:cd\', \'oper_status\': \'up\', \'admin_status\': \'up\', \'type\': \'physical\'}, {\'name\': \'1/21\', \'subinterfaces\': [], \'mac\': \'00:e0:b1:88:7a:ce\', \'oper_status\': \'down\', \'admin_status\': \'down\', \'type\': \'physical\'}, {\'name\': \'1/22\', \'subinterfaces\': [], \'mac\': \'00:e0:b1:88:7a:cf\', \'oper_status\': \'down\', \'admin_status\': \'down\', \'type\': \'physical\'}, {\'name\': \'1/23\', \'subinterfaces\': [], \'mac\': \'00:e0:b1:88:7a:d0\', \'oper_status\': \'up\', \'admin_status\': \'up\', \'type\': \'physical\'}, {\'name\': \'1/24\', \'subinterfaces\': [], \'mac\': \'00:e0:b1:88:7a:d1\', \'oper_status\': \'up\', \'admin_status\': \'up\', \'type\': \'physical\'}, {\'name\': \'1/25\', \'subinterfaces\': [], \'mac\': \'00:e0:b1:88:7a:d2\', \'oper_status\': \'up\', \'admin_status\': \'up\', \'type\': \'physical\'}, {\'name\': \'1/26\', \'subinterfaces\': [], \'mac\': \'00:e0:b1:88:7a:d3\', \'oper_status\': \'down\', \'admin_status\': \'down\', \'type\': \'physical\'}]\n------------------------------------------------------------------------\nFile: /var/backups/noc/sa/interfaces/base.py (Line: 91)\nFunction: script_clean_result\n 84 \n 85 :param profile: Profile\n 86 :type profile: Profile instance\n 87 :param value: Input parameter\n 88 :type value: Arbitrary python type\n 89 :return: Normalized value\n 90 """\n 91 ==> return self.clean(value)\n 92 \n 93 def form_clean(self, value):\n 94 """\n 95 Clean up form field\n 96 \n 97 :param value: Input parameter\nVariables:\n profile = <noc.sa.profiles.Alcatel.AOS.Profile object at 0x2d75850>\n self = <noc.sa.interfaces.base.ListOfParameter object at 0x1218c90>\n value = [{\'name\': \'1/1\', \'subinterfaces\': [], \'mac\': \'00:e0:b1:88:7a:ba\', \'oper_status\': \'up\', \'admin_status\': \'up\', \'type\': \'physical\'}, {\'name\': \'1/2\', \'subinterfaces\': [], \'mac\': \'00:e0:b1:88:7a:bb\', \'oper_status\': \'down\', \'admin_status\': \'down\', \'type\': \'physical\'}, {\'name\': \'1/3\', \'subinterfaces\': [], \'mac\': \'00:e0:b1:88:7a:bc\', \'oper_status\': \'up\', \'admin_status\': \'up\', \'type\': \'physical\'}, {\'name\': \'1/4\', \'subinterfaces\': [], \'mac\': \'00:e0:b1:88:7a:bd\', \'oper_status\': \'down\', \'admin_status\': \'down\', \'type\': \'physical\'}, {\'name\': \'1/5\', \'subinterfaces\': [], \'mac\': \'00:e0:b1:88:7a:be\', \'oper_status\': \'down\', \'admin_status\': \'down\', \'type\': \'physical\'}, {\'name\': \'1/6\', \'subinterfaces\': [], \'mac\': \'00:e0:b1:88:7a:bf\', \'oper_status\': \'up\', \'admin_status\': \'up\', \'type\': \'physical\'}, {\'name\': \'1/7\', \'subinterfaces\': [], \'mac\': \'00:e0:b1:88:7a:c0\', \'oper_status\': \'up\', \'admin_status\': \'up\', \'type\': \'physical\'}, {\'name\': \'1/8\', \'subinterfaces\': [], \'mac\': \'00:e0:b1:88:7a:c1\', \'oper_status\': \'up\', \'admin_status\': \'up\', \'type\': \'physical\'}, {\'name\': \'1/9\', \'subinterfaces\': [], \'mac\': \'00:e0:b1:88:7a:c2\', \'oper_status\': \'down\', \'admin_status\': \'down\', \'type\': \'physical\'}, {\'name\': \'1/10\', \'subinterfaces\': [], \'mac\': \'00:e0:b1:88:7a:c3\', \'oper_status\': \'up\', \'admin_status\': \'up\', \'type\': \'physical\'}, {\'name\': \'1/11\', \'subinterfaces\': [], \'mac\': \'00:e0:b1:88:7a:c4\', \'oper_status\': \'up\', \'admin_status\': \'up\', \'type\': \'physical\'}, {\'name\': \'1/12\', \'subinterfaces\': [], \'mac\': \'00:e0:b1:88:7a:c5\', \'oper_status\': \'up\', \'admin_status\': \'up\', \'type\': \'physical\'}, {\'name\': \'1/13\', \'subinterfaces\': [], \'mac\': \'00:e0:b1:88:7a:c6\', \'oper_status\': \'down\', \'admin_status\': \'down\', \'type\': \'physical\'}, {\'name\': \'1/14\', \'subinterfaces\': [], \'mac\': \'00:e0:b1:88:7a:c7\', \'oper_status\': \'up\', \'admin_status\': \'up\', \'type\': \'physical\'}, {\'name\': \'1/15\', \'subinterfaces\': [], \'mac\': \'00:e0:b1:88:7a:c8\', \'oper_status\': \'up\', \'admin_status\': \'up\', \'type\': \'physical\'}, {\'name\': \'1/16\', \'subinterfaces\': [], \'mac\': \'00:e0:b1:88:7a:c9\', \'oper_status\': \'up\', \'admin_status\': \'up\', \'type\': \'physical\'}, {\'name\': \'1/17\', \'subinterfaces\': [], \'mac\': \'00:e0:b1:88:7a:ca\', \'oper_status\': \'up\', \'admin_status\': \'up\', \'type\': \'physical\'}, {\'name\': \'1/18\', \'subinterfaces\': [], \'mac\': \'00:e0:b1:88:7a:cb\', \'oper_status\': \'up\', \'admin_status\': \'up\', \'type\': \'physical\'}, {\'name\': \'1/19\', \'subinterfaces\': [], \'mac\': \'00:e0:b1:88:7a:cc\', \'oper_status\': \'up\', \'admin_status\': \'up\', \'type\': \'physical\'}, {\'name\': \'1/20\', \'subinterfaces\': [], \'mac\': \'00:e0:b1:88:7a:cd\', \'oper_status\': \'up\', \'admin_status\': \'up\', \'type\': \'physical\'}, {\'name\': \'1/21\', \'subinterfaces\': [], \'mac\': \'00:e0:b1:88:7a:ce\', \'oper_status\': \'down\', \'admin_status\': \'down\', \'type\': \'physical\'}, {\'name\': \'1/22\', \'subinterfaces\': [], \'mac\': \'00:e0:b1:88:7a:cf\', \'oper_status\': \'down\', \'admin_status\': \'down\', \'type\': \'physical\'}, {\'name\': \'1/23\', \'subinterfaces\': [], \'mac\': \'00:e0:b1:88:7a:d0\', \'oper_status\': \'up\', \'admin_status\': \'up\', \'type\': \'physical\'}, {\'name\': \'1/24\', \'subinterfaces\': [], \'mac\': \'00:e0:b1:88:7a:d1\', \'oper_status\': \'up\', \'admin_status\': \'up\', \'type\': \'physical\'}, {\'name\': \'1/25\', \'subinterfaces\': [], \'mac\': \'00:e0:b1:88:7a:d2\', \'oper_status\': \'up\', \'admin_status\': \'up\', \'type\': \'physical\'}, {\'name\': \'1/26\', \'subinterfaces\': [], \'mac\': \'00:e0:b1:88:7a:d3\', \'oper_status\': \'down\', \'admin_status\': \'down\', \'type\': \'physical\'}]\n------------------------------------------------------------------------\nFile: /var/backups/noc/sa/interfaces/base.py (Line: 616)\nFunction: script_clean_result\n 609 return [[e.script_clean_input(profile, vv) for e, vv in zip(self.element, v)] for v in value]\n 610 else:\n 611 return [self.element.script_clean_input(profile, x) for x in v]\n 612 \n 613 def script_clean_result(self, profile, value):\n 614 if value is None and self.default is not None:\n 615 return self.default\n 616 ==> v = super(ListOfParameter, self).script_clean_result(profile, value)\n 617 if self.is_list:\n 618 return [[e.script_clean_result(profile, vv) for e, vv in zip(self.element, v)] for v in value]\n 619 else:\n 620 return [self.element.script_clean_result(profile, x) for x in v]\n 621 \n 622 \nVariables:\n profile = <noc.sa.profiles.Alcatel.AOS.Profile object at 0x2d75850>\n self = <noc.sa.interfaces.base.ListOfParameter object at 0x1218c90>\n value = [{\'name\': \'1/1\', \'subinterfaces\': [], \'mac\': \'00:e0:b1:88:7a:ba\', \'oper_status\': \'up\', \'admin_status\': \'up\', \'type\': \'physical\'}, {\'name\': \'1/2\', \'subinterfaces\': [], \'mac\': \'00:e0:b1:88:7a:bb\', \'oper_status\': \'down\', \'admin_status\': \'down\', \'type\': \'physical\'}, {\'name\': \'1/3\', \'subinterfaces\': [], \'mac\': \'00:e0:b1:88:7a:bc\', \'oper_status\': \'up\', \'admin_status\': \'up\', \'type\': \'physical\'}, {\'name\': \'1/4\', \'subinterfaces\': [], \'mac\': \'00:e0:b1:88:7a:bd\', \'oper_status\': \'down\', \'admin_status\': \'down\', \'type\': \'physical\'}, {\'name\': \'1/5\', \'subinterfaces\': [], \'mac\': \'00:e0:b1:88:7a:be\', \'oper_status\': \'down\', \'admin_status\': \'down\', \'type\': \'physical\'}, {\'name\': \'1/6\', \'subinterfaces\': [], \'mac\': \'00:e0:b1:88:7a:bf\', \'oper_status\': \'up\', \'admin_status\': \'up\', \'type\': \'physical\'}, {\'name\': \'1/7\', \'subinterfaces\': [], \'mac\': \'00:e0:b1:88:7a:c0\', \'oper_status\': \'up\', \'admin_status\': \'up\', \'type\': \'physical\'}, {\'name\': \'1/8\', \'subinterfaces\': [], \'mac\': \'00:e0:b1:88:7a:c1\', \'oper_status\': \'up\', \'admin_status\': \'up\', \'type\': \'physical\'}, {\'name\': \'1/9\', \'subinterfaces\': [], \'mac\': \'00:e0:b1:88:7a:c2\', \'oper_status\': \'down\', \'admin_status\': \'down\', \'type\': \'physical\'}, {\'name\': \'1/10\', \'subinterfaces\': [], \'mac\': \'00:e0:b1:88:7a:c3\', \'oper_status\': \'up\', \'admin_status\': \'up\', \'type\': \'physical\'}, {\'name\': \'1/11\', \'subinterfaces\': [], \'mac\': \'00:e0:b1:88:7a:c4\', \'oper_status\': \'up\', \'admin_status\': \'up\', \'type\': \'physical\'}, {\'name\': \'1/12\', \'subinterfaces\': [], \'mac\': \'00:e0:b1:88:7a:c5\', \'oper_status\': \'up\', \'admin_status\': \'up\', \'type\': \'physical\'}, {\'name\': \'1/13\', \'subinterfaces\': [], \'mac\': \'00:e0:b1:88:7a:c6\', \'oper_status\': \'down\', \'admin_status\': \'down\', \'type\': \'physical\'}, {\'name\': \'1/14\', \'subinterfaces\': [], \'mac\': \'00:e0:b1:88:7a:c7\', \'oper_status\': \'up\', \'admin_status\': \'up\', \'type\': \'physical\'}, {\'name\': \'1/15\', \'subinterfaces\': [], \'mac\': \'00:e0:b1:88:7a:c8\', \'oper_status\': \'up\', \'admin_status\': \'up\', \'type\': \'physical\'}, {\'name\': \'1/16\', \'subinterfaces\': [], \'mac\': \'00:e0:b1:88:7a:c9\', \'oper_status\': \'up\', \'admin_status\': \'up\', \'type\': \'physical\'}, {\'name\': \'1/17\', \'subinterfaces\': [], \'mac\': \'00:e0:b1:88:7a:ca\', \'oper_status\': \'up\', \'admin_status\': \'up\', \'type\': \'physical\'}, {\'name\': \'1/18\', \'subinterfaces\': [], \'mac\': \'00:e0:b1:88:7a:cb\', \'oper_status\': \'up\', \'admin_status\': \'up\', \'type\': \'physical\'}, {\'name\': \'1/19\', \'subinterfaces\': [], \'mac\': \'00:e0:b1:88:7a:cc\', \'oper_status\': \'up\', \'admin_status\': \'up\', \'type\': \'physical\'}, {\'name\': \'1/20\', \'subinterfaces\': [], \'mac\': \'00:e0:b1:88:7a:cd\', \'oper_status\': \'up\', \'admin_status\': \'up\', \'type\': \'physical\'}, {\'name\': \'1/21\', \'subinterfaces\': [], \'mac\': \'00:e0:b1:88:7a:ce\', \'oper_status\': \'down\', \'admin_status\': \'down\', \'type\': \'physical\'}, {\'name\': \'1/22\', \'subinterfaces\': [], \'mac\': \'00:e0:b1:88:7a:cf\', \'oper_status\': \'down\', \'admin_status\': \'down\', \'type\': \'physical\'}, {\'name\': \'1/23\', \'subinterfaces\': [], \'mac\': \'00:e0:b1:88:7a:d0\', \'oper_status\': \'up\', \'admin_status\': \'up\', \'type\': \'physical\'}, {\'name\': \'1/24\', \'subinterfaces\': [], \'mac\': \'00:e0:b1:88:7a:d1\', \'oper_status\': \'up\', \'admin_status\': \'up\', \'type\': \'physical\'}, {\'name\': \'1/25\', \'subinterfaces\': [], \'mac\': \'00:e0:b1:88:7a:d2\', \'oper_status\': \'up\', \'admin_status\': \'up\', \'type\': \'physical\'}, {\'name\': \'1/26\', \'subinterfaces\': [], \'mac\': \'00:e0:b1:88:7a:d3\', \'oper_status\': \'down\', \'admin_status\': \'down\', \'type\': \'physical\'}]\n------------------------------------------------------------------------\nFile: /var/backups/noc/sa/interfaces/base.py (Line: 1248)\nFunction: script_clean_result\n 1241 return self.clean(__profile, **kwargs)\n 1242 \n 1243 def script_clean_result(self, __profile, result):\n 1244 try:\n 1245 rp = self.returns\n 1246 except AttributeError:\n 1247 return result\n 1248 ==> return rp.script_clean_result(__profile, result)\n 1249 \n 1250 def template_clean_result(self, __profile, result):\n 1251 return result\n 1252 \n 1253 def requires_input(self):\n 1254 for n, p in self.gen_parameters():\nVariables:\n _Interface__profile = <noc.sa.profiles.Alcatel.AOS.Profile object at 0x2d75850>\n rp = <noc.sa.interfaces.base.ListOfParameter object at 0x1218c90>\n result = [{\'name\': \'1/1\', \'subinterfaces\': [], \'mac\': \'00:e0:b1:88:7a:ba\', \'oper_status\': \'up\', \'admin_status\': \'up\', \'type\': \'physical\'}, {\'name\': \'1/2\', \'subinterfaces\': [], \'mac\': \'00:e0:b1:88:7a:bb\', \'oper_status\': \'down\', \'admin_status\': \'down\', \'type\': \'physical\'}, {\'name\': \'1/3\', \'subinterfaces\': [], \'mac\': \'00:e0:b1:88:7a:bc\', \'oper_status\': \'up\', \'admin_status\': \'up\', \'type\': \'physical\'}, {\'name\': \'1/4\', \'subinterfaces\': [], \'mac\': \'00:e0:b1:88:7a:bd\', \'oper_status\': \'down\', \'admin_status\': \'down\', \'type\': \'physical\'}, {\'name\': \'1/5\', \'subinterfaces\': [], \'mac\': \'00:e0:b1:88:7a:be\', \'oper_status\': \'down\', \'admin_status\': \'down\', \'type\': \'physical\'}, {\'name\': \'1/6\', \'subinterfaces\': [], \'mac\': \'00:e0:b1:88:7a:bf\', \'oper_status\': \'up\', \'admin_status\': \'up\', \'type\': \'physical\'}, {\'name\': \'1/7\', \'subinterfaces\': [], \'mac\': \'00:e0:b1:88:7a:c0\', \'oper_status\': \'up\', \'admin_status\': \'up\', \'type\': \'physical\'}, {\'name\': \'1/8\', \'subinterfaces\': [], \'mac\': \'00:e0:b1:88:7a:c1\', \'oper_status\': \'up\', \'admin_status\': \'up\', \'type\': \'physical\'}, {\'name\': \'1/9\', \'subinterfaces\': [], \'mac\': \'00:e0:b1:88:7a:c2\', \'oper_status\': \'down\', \'admin_status\': \'down\', \'type\': \'physical\'}, {\'name\': \'1/10\', \'subinterfaces\': [], \'mac\': \'00:e0:b1:88:7a:c3\', \'oper_status\': \'up\', \'admin_status\': \'up\', \'type\': \'physical\'}, {\'name\': \'1/11\', \'subinterfaces\': [], \'mac\': \'00:e0:b1:88:7a:c4\', \'oper_status\': \'up\', \'admin_status\': \'up\', \'type\': \'physical\'}, {\'name\': \'1/12\', \'subinterfaces\': [], \'mac\': \'00:e0:b1:88:7a:c5\', \'oper_status\': \'up\', \'admin_status\': \'up\', \'type\': \'physical\'}, {\'name\': \'1/13\', \'subinterfaces\': [], \'mac\': \'00:e0:b1:88:7a:c6\', \'oper_status\': \'down\', \'admin_status\': \'down\', \'type\': \'physical\'}, {\'name\': \'1/14\', \'subinterfaces\': [], \'mac\': \'00:e0:b1:88:7a:c7\', \'oper_status\': \'up\', \'admin_status\': \'up\', \'type\': \'physical\'}, {\'name\': \'1/15\', \'subinterfaces\': [], \'mac\': \'00:e0:b1:88:7a:c8\', \'oper_status\': \'up\', \'admin_status\': \'up\', \'type\': \'physical\'}, {\'name\': \'1/16\', \'subinterfaces\': [], \'mac\': \'00:e0:b1:88:7a:c9\', \'oper_status\': \'up\', \'admin_status\': \'up\', \'type\': \'physical\'}, {\'name\': \'1/17\', \'subinterfaces\': [], \'mac\': \'00:e0:b1:88:7a:ca\', \'oper_status\': \'up\', \'admin_status\': \'up\', \'type\': \'physical\'}, {\'name\': \'1/18\', \'subinterfaces\': [], \'mac\': \'00:e0:b1:88:7a:cb\', \'oper_status\': \'up\', \'admin_status\': \'up\', \'type\': \'physical\'}, {\'name\': \'1/19\', \'subinterfaces\': [], \'mac\': \'00:e0:b1:88:7a:cc\', \'oper_status\': \'up\', \'admin_status\': \'up\', \'type\': \'physical\'}, {\'name\': \'1/20\', \'subinterfaces\': [], \'mac\': \'00:e0:b1:88:7a:cd\', \'oper_status\': \'up\', \'admin_status\': \'up\', \'type\': \'physical\'}, {\'name\': \'1/21\', \'subinterfaces\': [], \'mac\': \'00:e0:b1:88:7a:ce\', \'oper_status\': \'down\', \'admin_status\': \'down\', \'type\': \'physical\'}, {\'name\': \'1/22\', \'subinterfaces\': [], \'mac\': \'00:e0:b1:88:7a:cf\', \'oper_status\': \'down\', \'admin_status\': \'down\', \'type\': \'physical\'}, {\'name\': \'1/23\', \'subinterfaces\': [], \'mac\': \'00:e0:b1:88:7a:d0\', \'oper_status\': \'up\', \'admin_status\': \'up\', \'type\': \'physical\'}, {\'name\': \'1/24\', \'subinterfaces\': [], \'mac\': \'00:e0:b1:88:7a:d1\', \'oper_status\': \'up\', \'admin_status\': \'up\', \'type\': \'physical\'}, {\'name\': \'1/25\', \'subinterfaces\': [], \'mac\': \'00:e0:b1:88:7a:d2\', \'oper_status\': \'up\', \'admin_status\': \'up\', \'type\': \'physical\'}, {\'name\': \'1/26\', \'subinterfaces\': [], \'mac\': \'00:e0:b1:88:7a:d3\', \'oper_status\': \'down\', \'admin_status\': \'down\', \'type\': \'physical\'}]\n self = <noc.sa.interfaces.igetinterfaces.IGetInterfaces object at 0x25b5ed0>\n------------------------------------------------------------------------\nFile: /var/backups/noc/sa/script/script.py (Line: 417)\nFunction: guarded_run\n 410 self.kwargs))\n 411 pass\n 412 # Calling script body\n 413 self._thread_id = thread.get_ident()\n 414 result = self.execute(**self.kwargs)\n 415 # Enforce interface result checking\n 416 for i in self.implements:\n 417 ==> result = i.script_clean_result(self.profile, result)\n 418 # Cache result when required\n 419 if self.cache and self.parent is not None:\n 420 self.debug("Write to call cache: %s, %s, %r" % (self.name,\n 421 self.kwargs,\n 422 result))\n 423 self.set_cache(self.name, self.kwargs, result)\nVariables:\n i = <noc.sa.interfaces.igetinterfaces.IGetInterfaces object at 0x25b5ed0>\n self = <Script(script-10.200.0.3-Alcatel.AOS.get_interfaces, started 140250141660928)>\n result = [{\'name\': \'1/1\', \'subinterfaces\': [], \'mac\': \'00:e0:b1:88:7a:ba\', \'oper_status\': \'up\', \'admin_status\': \'up\', \'type\': \'physical\'}, {\'name\': \'1/2\', \'subinterfaces\': [], \'mac\': \'00:e0:b1:88:7a:bb\', \'oper_status\': \'down\', \'admin_status\': \'down\', \'type\': \'physical\'}, {\'name\': \'1/3\', \'subinterfaces\': [], \'mac\': \'00:e0:b1:88:7a:bc\', \'oper_status\': \'up\', \'admin_status\': \'up\', \'type\': \'physical\'}, {\'name\': \'1/4\', \'subinterfaces\': [], \'mac\': \'00:e0:b1:88:7a:bd\', \'oper_status\': \'down\', \'admin_status\': \'down\', \'type\': \'physical\'}, {\'name\': \'1/5\', \'subinterfaces\': [], \'mac\': \'00:e0:b1:88:7a:be\', \'oper_status\': \'down\', \'admin_status\': \'down\', \'type\': \'physical\'}, {\'name\': \'1/6\', \'subinterfaces\': [], \'mac\': \'00:e0:b1:88:7a:bf\', \'oper_status\': \'up\', \'admin_status\': \'up\', \'type\': \'physical\'}, {\'name\': \'1/7\', \'subinterfaces\': [], \'mac\': \'00:e0:b1:88:7a:c0\', \'oper_status\': \'up\', \'admin_status\': \'up\', \'type\': \'physical\'}, {\'name\': \'1/8\', \'subinterfaces\': [], \'mac\': \'00:e0:b1:88:7a:c1\', \'oper_status\': \'up\', \'admin_status\': \'up\', \'type\': \'physical\'}, {\'name\': \'1/9\', \'subinterfaces\': [], \'mac\': \'00:e0:b1:88:7a:c2\', \'oper_status\': \'down\', \'admin_status\': \'down\', \'type\': \'physical\'}, {\'name\': \'1/10\', \'subinterfaces\': [], \'mac\': \'00:e0:b1:88:7a:c3\', \'oper_status\': \'up\', \'admin_status\': \'up\', \'type\': \'physical\'}, {\'name\': \'1/11\', \'subinterfaces\': [], \'mac\': \'00:e0:b1:88:7a:c4\', \'oper_status\': \'up\', \'admin_status\': \'up\', \'type\': \'physical\'}, {\'name\': \'1/12\', \'subinterfaces\': [], \'mac\': \'00:e0:b1:88:7a:c5\', \'oper_status\': \'up\', \'admin_status\': \'up\', \'type\': \'physical\'}, {\'name\': \'1/13\', \'subinterfaces\': [], \'mac\': \'00:e0:b1:88:7a:c6\', \'oper_status\': \'down\', \'admin_status\': \'down\', \'type\': \'physical\'}, {\'name\': \'1/14\', \'subinterfaces\': [], \'mac\': \'00:e0:b1:88:7a:c7\', \'oper_status\': \'up\', \'admin_status\': \'up\', \'type\': \'physical\'}, {\'name\': \'1/15\', \'subinterfaces\': [], \'mac\': \'00:e0:b1:88:7a:c8\', \'oper_status\': \'up\', \'admin_status\': \'up\', \'type\': \'physical\'}, {\'name\': \'1/16\', \'subinterfaces\': [], \'mac\': \'00:e0:b1:88:7a:c9\', \'oper_status\': \'up\', \'admin_status\': \'up\', \'type\': \'physical\'}, {\'name\': \'1/17\', \'subinterfaces\': [], \'mac\': \'00:e0:b1:88:7a:ca\', \'oper_status\': \'up\', \'admin_status\': \'up\', \'type\': \'physical\'}, {\'name\': \'1/18\', \'subinterfaces\': [], \'mac\': \'00:e0:b1:88:7a:cb\', \'oper_status\': \'up\', \'admin_status\': \'up\', \'type\': \'physical\'}, {\'name\': \'1/19\', \'subinterfaces\': [], \'mac\': \'00:e0:b1:88:7a:cc\', \'oper_status\': \'up\', \'admin_status\': \'up\', \'type\': \'physical\'}, {\'name\': \'1/20\', \'subinterfaces\': [], \'mac\': \'00:e0:b1:88:7a:cd\', \'oper_status\': \'up\', \'admin_status\': \'up\', \'type\': \'physical\'}, {\'name\': \'1/21\', \'subinterfaces\': [], \'mac\': \'00:e0:b1:88:7a:ce\', \'oper_status\': \'down\', \'admin_status\': \'down\', \'type\': \'physical\'}, {\'name\': \'1/22\', \'subinterfaces\': [], \'mac\': \'00:e0:b1:88:7a:cf\', \'oper_status\': \'down\', \'admin_status\': \'down\', \'type\': \'physical\'}, {\'name\': \'1/23\', \'subinterfaces\': [], \'mac\': \'00:e0:b1:88:7a:d0\', \'oper_status\': \'up\', \'admin_status\': \'up\', \'type\': \'physical\'}, {\'name\': \'1/24\', \'subinterfaces\': [], \'mac\': \'00:e0:b1:88:7a:d1\', \'oper_status\': \'up\', \'admin_status\': \'up\', \'type\': \'physical\'}, {\'name\': \'1/25\', \'subinterfaces\': [], \'mac\': \'00:e0:b1:88:7a:d2\', \'oper_status\': \'up\', \'admin_status\': \'up\', \'type\': \'physical\'}, {\'name\': \'1/26\', \'subinterfaces\': [], \'mac\': \'00:e0:b1:88:7a:d3\', \'oper_status\': \'down\', \'admin_status\': \'down\', \'type\': \'physical\'}]\n------------------------------------------------------------------------\nFile: /var/backups/noc/sa/script/script.py (Line: 437)\nFunction: run\n 430 \n 431 def run(self):\n 432 """Script thread worker method"""\n 433 self.debug("Running")\n 434 result = None\n 435 try:\n 436 with self.cancelable():\n 437 ==> result = self.guarded_run()\n 438 except self.TimeOutError:\n 439 self.error("Timed out")\n 440 self.e_timeout = True\n 441 except CancelledError:\n 442 self.error("Cancelled")\n 443 self.e_cancel = True\nVariables:\n self = <Script(script-10.200.0.3-Alcatel.AOS.get_interfaces, started 140250141660928)>\n r = ["<class \'noc.sa.interfaces.base.InterfaceTypeError\'>", "DictParameter: {\'name\': \'1/1\', \'subinterfaces\': [], \'mac\': \'00:e0:b1:88:7a:ba\', \'oper_status\': \'up\', \'admin_status\': \'up\', \'type\': \'physical\'}. Attribute \'interfaces\' is required in {\'name\': \'1/1\', \'subinterfaces\': [], \'mac\': \'00:e0:b1:88:7a:ba\', \'oper_status\': \'up\', \'admin_status\': \'up\', \'type\': \'physical\'}"]\n result = None\n v = InterfaceTypeError("DictParameter: {\'name\': \'1/1\', \'subinterfaces\': [], \'mac\': \'00:e0:b1:88:7a:ba\', \'oper_status\': \'up\', \'admin_status\': \'up\', \'type\': \'physical\'}. Attribute \'interfaces\' is required in {\'name\': \'1/1\', \'subinterfaces\': [], \'mac\': \'00:e0:b1:88:7a:ba\', \'oper_status\': \'up\', \'admin_status\': \'up\', \'type\': \'physical\'}",)\n tb = <traceback object at 0x2eee8c0>\n t = <class \'noc.sa.interfaces.base.InterfaceTypeError\'>\n------------------------------------------------------------------------\nEND OF TRACEBACK'
- motd = ''
- cli = {
- ## 'show interfaces'
- 'show interfaces': """show interfaces
- Slot/Port 1/1 :
- Operational Status : up,
- Last Time Link Changed : TUE JUL 10 20:07:35 ,
- Number of Status Change: 1,
- Type : Ethernet,
- SFP/XFP : GBIC_LX,
- MAC address : 00:e0:b1:88:7a:ba,
- BandWidth (Megabits) : 1000, \t\tDuplex : Full,
- Autonegotiation : 1 [ 1000-F ],
- Long Frame Size(Bytes) : 9216,
- Rx :
- Bytes Received : 9737491611, Unicast Frames : 69876982,
- Broadcast Frames: 688907, M-cast Frames : 833627,
- UnderSize Frames: 0, OverSize Frames: 0,
- Lost Frames : 0, Error Frames : 0,
- CRC Error Frames: 0, Alignments Err : 0,
- Tx :
- Bytes Xmitted : 8249293049, Unicast Frames : 68651857,
- Broadcast Frames: 1470657, M-cast Frames : 4523275,
- UnderSize Frames: 0, OverSize Frames: 0,
- Lost Frames : 23, Collided Frames: 0,
- Error Frames : 0
- Slot/Port 1/2 :
- Operational Status : down,
- Last Time Link Changed : TUE JUL 10 20:07:00 ,
- Number of Status Change: 0,
- Type : Ethernet,
- SFP/XFP : Not Present,
- MAC address : 00:e0:b1:88:7a:bb,
- BandWidth (Megabits) : - , \t\tDuplex : -,
- Autonegotiation : 1 [ 1000-F ],
- Long Frame Size(Bytes) : 9216,
- Rx :
- Bytes Received : 0, Unicast Frames : 0,
- Broadcast Frames: 0, M-cast Frames : 0,
- UnderSize Frames: 0, OverSize Frames: 0,
- Lost Frames : 0, Error Frames : 0,
- CRC Error Frames: 0, Alignments Err : 0,
- Tx :
- Bytes Xmitted : 0, Unicast Frames : 0,
- Broadcast Frames: 0, M-cast Frames : 0,
- UnderSize Frames: 0, OverSize Frames: 0,
- Lost Frames : 0, Collided Frames: 0,
- Error Frames : 0
- Slot/Port 1/3 :
- Operational Status : up,
- Last Time Link Changed : FRI JUL 20 15:58:47 ,
- Number of Status Change: 2,
- Type : Ethernet,
- SFP/XFP : GBIC_LX,
- MAC address : 00:e0:b1:88:7a:bc,
- BandWidth (Megabits) : 1000, \t\tDuplex : Full,
- Autonegotiation : 1 [ 1000-F ],
- Long Frame Size(Bytes) : 9216,
- Rx :
- Bytes Received : 2239194394212, Unicast Frames : 3428869159,
- Broadcast Frames: 372802, M-cast Frames : 3640806,
- UnderSize Frames: 0, OverSize Frames: 0,
- Lost Frames : 0, Error Frames : 5719,
- CRC Error Frames: 5719, Alignments Err : 0,
- Tx :
- Bytes Xmitted : 4479470609253, Unicast Frames : 3968834317,
- Broadcast Frames: 908278, M-cast Frames : 36429,
- UnderSize Frames: 0, OverSize Frames: 0,
- Lost Frames : 0, Collided Frames: 0,
- Error Frames : 0
- Slot/Port 1/4 :
- Operational Status : down,
- Last Time Link Changed : TUE JUL 10 20:07:00 ,
- Number of Status Change: 0,
- Type : Ethernet,
- SFP/XFP : Not Present,
- MAC address : 00:e0:b1:88:7a:bd,
- BandWidth (Megabits) : - , \t\tDuplex : -,
- Autonegotiation : 1 [ 1000-F ],
- Long Frame Size(Bytes) : 9216,
- Rx :
- Bytes Received : 0, Unicast Frames : 0,
- Broadcast Frames: 0, M-cast Frames : 0,
- UnderSize Frames: 0, OverSize Frames: 0,
- Lost Frames : 0, Error Frames : 0,
- CRC Error Frames: 0, Alignments Err : 0,
- Tx :
- Bytes Xmitted : 0, Unicast Frames : 0,
- Broadcast Frames: 0, M-cast Frames : 0,
- UnderSize Frames: 0, OverSize Frames: 0,
- Lost Frames : 0, Collided Frames: 0,
- Error Frames : 0
- Slot/Port 1/5 :
- Operational Status : down,
- Last Time Link Changed : TUE JUL 10 20:07:00 ,
- Number of Status Change: 0,
- Type : Ethernet,
- SFP/XFP : Not Present,
- MAC address : 00:e0:b1:88:7a:be,
- BandWidth (Megabits) : - , \t\tDuplex : -,
- Autonegotiation : 1 [ 1000-F ],
- Long Frame Size(Bytes) : 9216,
- Rx :
- Bytes Received : 0, Unicast Frames : 0,
- Broadcast Frames: 0, M-cast Frames : 0,
- UnderSize Frames: 0, OverSize Frames: 0,
- Lost Frames : 0, Error Frames : 0,
- CRC Error Frames: 0, Alignments Err : 0,
- Tx :
- Bytes Xmitted : 0, Unicast Frames : 0,
- Broadcast Frames: 0, M-cast Frames : 0,
- UnderSize Frames: 0, OverSize Frames: 0,
- Lost Frames : 0, Collided Frames: 0,
- Error Frames : 0
- Slot/Port 1/6 :
- Operational Status : up,
- Last Time Link Changed : TUE JUL 10 20:07:35 ,
- Number of Status Change: 1,
- Type : Ethernet,
- SFP/XFP : Unknown,
- MAC address : 00:e0:b1:88:7a:bf,
- BandWidth (Megabits) : 1000, \t\tDuplex : Full,
- Autonegotiation : 1 [ 1000-F ],
- Long Frame Size(Bytes) : 9216,
- Rx :
- Bytes Received : 1652272940213, Unicast Frames : 2599751607,
- Broadcast Frames: 632648, M-cast Frames : 3532239,
- UnderSize Frames: 0, OverSize Frames: 0,
- Lost Frames : 0, Error Frames : 0,
- CRC Error Frames: 0, Alignments Err : 0,
- Tx :
- Bytes Xmitted : 3270423956431, Unicast Frames : 3037130674,
- Broadcast Frames: 1004390, M-cast Frames : 753393,
- UnderSize Frames: 0, OverSize Frames: 0,
- Lost Frames : 0, Collided Frames: 0,
- Error Frames : 0
- Slot/Port 1/7 :
- Operational Status : up,
- Last Time Link Changed : TUE JUL 10 20:07:35 ,
- Number of Status Change: 1,
- Type : Ethernet,
- SFP/XFP : GBIC_LX,
- MAC address : 00:e0:b1:88:7a:c0,
- BandWidth (Megabits) : 1000, \t\tDuplex : Full,
- Autonegotiation : 1 [ 1000-F ],
- Long Frame Size(Bytes) : 9216,
- Rx :
- Bytes Received : 2676994266669, Unicast Frames : 4519392365,
- Broadcast Frames: 684841, M-cast Frames : 4223163,
- UnderSize Frames: 0, OverSize Frames: 0,
- Lost Frames : 0, Error Frames : 0,
- CRC Error Frames: 0, Alignments Err : 0,
- Tx :
- Bytes Xmitted : 6333565801129, Unicast Frames : 5660033070,
- Broadcast Frames: 915094, M-cast Frames : 737025,
- UnderSize Frames: 0, OverSize Frames: 0,
- Lost Frames : 1, Collided Frames: 0,
- Error Frames : 0
- Slot/Port 1/8 :
- Operational Status : up,
- Last Time Link Changed : TUE JUL 10 20:07:35 ,
- Number of Status Change: 1,
- Type : Ethernet,
- SFP/XFP : GBIC_LX,
- MAC address : 00:e0:b1:88:7a:c1,
- BandWidth (Megabits) : 1000, \t\tDuplex : Full,
- Autonegotiation : 1 [ 1000-F ],
- Long Frame Size(Bytes) : 9216,
- Rx :
- Bytes Received : 1860473148713, Unicast Frames : 2986315794,
- Broadcast Frames: 506842, M-cast Frames : 3721227,
- UnderSize Frames: 0, OverSize Frames: 0,
- Lost Frames : 0, Error Frames : 0,
- CRC Error Frames: 0, Alignments Err : 0,
- Tx :
- Bytes Xmitted : 4072415398147, Unicast Frames : 3640014531,
- Broadcast Frames: 811110, M-cast Frames : 737273,
- UnderSize Frames: 0, OverSize Frames: 0,
- Lost Frames : 0, Collided Frames: 0,
- Error Frames : 0
- Slot/Port 1/9 :
- Operational Status : down,
- Last Time Link Changed : TUE JUL 10 20:07:00 ,
- Number of Status Change: 0,
- Type : Ethernet,
- SFP/XFP : Not Present,
- MAC address : 00:e0:b1:88:7a:c2,
- BandWidth (Megabits) : - , \t\tDuplex : -,
- Autonegotiation : 1 [ 1000-F ],
- Long Frame Size(Bytes) : 9216,
- Rx :
- Bytes Received : 0, Unicast Frames : 0,
- Broadcast Frames: 0, M-cast Frames : 0,
- UnderSize Frames: 0, OverSize Frames: 0,
- Lost Frames : 0, Error Frames : 0,
- CRC Error Frames: 0, Alignments Err : 0,
- Tx :
- Bytes Xmitted : 0, Unicast Frames : 0,
- Broadcast Frames: 0, M-cast Frames : 0,
- UnderSize Frames: 0, OverSize Frames: 0,
- Lost Frames : 0, Collided Frames: 0,
- Error Frames : 0
- Slot/Port 1/10 :
- Operational Status : up,
- Last Time Link Changed : TUE JUL 10 20:07:35 ,
- Number of Status Change: 1,
- Type : Ethernet,
- SFP/XFP : Unknown,
- MAC address : 00:e0:b1:88:7a:c3,
- BandWidth (Megabits) : 1000, \t\tDuplex : Full,
- Autonegotiation : 1 [ 1000-F ],
- Long Frame Size(Bytes) : 9216,
- Rx :
- Bytes Received : 3160881897251, Unicast Frames : 5017316370,
- Broadcast Frames: 664885, M-cast Frames : 4673064,
- UnderSize Frames: 0, OverSize Frames: 0,
- Lost Frames : 0, Error Frames : 0,
- CRC Error Frames: 0, Alignments Err : 0,
- Tx :
- Bytes Xmitted : 7062712263274, Unicast Frames : 6218126970,
- Broadcast Frames: 1199075, M-cast Frames : 737003,
- UnderSize Frames: 0, OverSize Frames: 0,
- Lost Frames : 0, Collided Frames: 0,
- Error Frames : 0
- Slot/Port 1/11 :
- Operational Status : up,
- Last Time Link Changed : THU JUL 19 02:18:10 ,
- Number of Status Change: 9,
- Type : Ethernet,
- SFP/XFP : GBIC_LX,
- MAC address : 00:e0:b1:88:7a:c4,
- BandWidth (Megabits) : 1000, \t\tDuplex : Full,
- Autonegotiation : 1 [ 1000-F ],
- Long Frame Size(Bytes) : 9216,
- Rx :
- Bytes Received : 3351316106435, Unicast Frames : 4792820884,
- Broadcast Frames: 638864, M-cast Frames : 5400829,
- UnderSize Frames: 0, OverSize Frames: 0,
- Lost Frames : 0, Error Frames : 0,
- CRC Error Frames: 0, Alignments Err : 0,
- Tx :
- Bytes Xmitted : 6064783902218, Unicast Frames : 5487085052,
- Broadcast Frames: 679414, M-cast Frames : 736914,
- UnderSize Frames: 0, OverSize Frames: 0,
- Lost Frames : 2, Collided Frames: 0,
- Error Frames : 0
- Slot/Port 1/12 :
- Operational Status : up,
- Last Time Link Changed : TUE JUL 10 20:07:35 ,
- Number of Status Change: 1,
- Type : Ethernet,
- SFP/XFP : GBIC_LX,
- MAC address : 00:e0:b1:88:7a:c5,
- BandWidth (Megabits) : 1000, \t\tDuplex : Full,
- Autonegotiation : 1 [ 1000-F ],
- Long Frame Size(Bytes) : 9216,
- Rx :
- Bytes Received : 2751909917554, Unicast Frames : 4562603065,
- Broadcast Frames: 405487, M-cast Frames : 3445898,
- UnderSize Frames: 0, OverSize Frames: 0,
- Lost Frames : 0, Error Frames : 0,
- CRC Error Frames: 0, Alignments Err : 0,
- Tx :
- Bytes Xmitted : 5993401625056, Unicast Frames : 5338692455,
- Broadcast Frames: 441410, M-cast Frames : 739569,
- UnderSize Frames: 0, OverSize Frames: 0,
- Lost Frames : 0, Collided Frames: 0,
- Error Frames : 0
- Slot/Port 1/13 :
- Operational Status : down,
- Last Time Link Changed : TUE JUL 10 20:07:00 ,
- Number of Status Change: 0,
- Type : Ethernet,
- SFP/XFP : Not Present,
- MAC address : 00:e0:b1:88:7a:c6,
- BandWidth (Megabits) : - , \t\tDuplex : -,
- Autonegotiation : 1 [ 1000-F ],
- Long Frame Size(Bytes) : 9216,
- Rx :
- Bytes Received : 0, Unicast Frames : 0,
- Broadcast Frames: 0, M-cast Frames : 0,
- UnderSize Frames: 0, OverSize Frames: 0,
- Lost Frames : 0, Error Frames : 0,
- CRC Error Frames: 0, Alignments Err : 0,
- Tx :
- Bytes Xmitted : 0, Unicast Frames : 0,
- Broadcast Frames: 0, M-cast Frames : 0,
- UnderSize Frames: 0, OverSize Frames: 0,
- Lost Frames : 0, Collided Frames: 0,
- Error Frames : 0
- Slot/Port 1/14 :
- Operational Status : up,
- Last Time Link Changed : THU JUL 19 02:18:25 ,
- Number of Status Change: 12,
- Type : Ethernet,
- SFP/XFP : Unknown,
- MAC address : 00:e0:b1:88:7a:c7,
- BandWidth (Megabits) : 1000, \t\tDuplex : Full,
- Autonegotiation : 1 [ 1000-F ],
- Long Frame Size(Bytes) : 9216,
- Rx :
- Bytes Received : 1894523146766, Unicast Frames : 3026287186,
- Broadcast Frames: 417976, M-cast Frames : 1949143,
- UnderSize Frames: 0, OverSize Frames: 0,
- Lost Frames : 0, Error Frames : 19,
- CRC Error Frames: 19, Alignments Err : 0,
- Tx :
- Bytes Xmitted : 4697505876691, Unicast Frames : 3955630115,
- Broadcast Frames: 651161, M-cast Frames : 736398,
- UnderSize Frames: 0, OverSize Frames: 0,
- Lost Frames : 0, Collided Frames: 0,
- Error Frames : 0
- Slot/Port 1/15 :
- Operational Status : up,
- Last Time Link Changed : THU JUL 19 02:18:10 ,
- Number of Status Change: 8,
- Type : Ethernet,
- SFP/XFP : Unknown,
- MAC address : 00:e0:b1:88:7a:c8,
- BandWidth (Megabits) : 1000, \t\tDuplex : Full,
- Autonegotiation : 1 [ 1000-F ],
- Long Frame Size(Bytes) : 9216,
- Rx :
- Bytes Received : 3164513468629, Unicast Frames : 4273789592,
- Broadcast Frames: 537244, M-cast Frames : 4644119,
- UnderSize Frames: 0, OverSize Frames: 0,
- Lost Frames : 0, Error Frames : 0,
- CRC Error Frames: 0, Alignments Err : 0,
- Tx :
- Bytes Xmitted : 4658317561286, Unicast Frames : 4645613987,
- Broadcast Frames: 430864, M-cast Frames : 757204,
- UnderSize Frames: 0, OverSize Frames: 0,
- Lost Frames : 0, Collided Frames: 0,
- Error Frames : 0
- Slot/Port 1/16 :
- Operational Status : up,
- Last Time Link Changed : THU JUL 19 02:18:10 ,
- Number of Status Change: 9,
- Type : Ethernet,
- SFP/XFP : Unknown,
- MAC address : 00:e0:b1:88:7a:c9,
- BandWidth (Megabits) : 1000, \t\tDuplex : Full,
- Autonegotiation : 1 [ 1000-F ],
- Long Frame Size(Bytes) : 9216,
- Rx :
- Bytes Received : 1241855418003, Unicast Frames : 2394232667,
- Broadcast Frames: 305129, M-cast Frames : 3393884,
- UnderSize Frames: 0, OverSize Frames: 0,
- Lost Frames : 0, Error Frames : 0,
- CRC Error Frames: 0, Alignments Err : 0,
- Tx :
- Bytes Xmitted : 3841141487527, Unicast Frames : 3227199185,
- Broadcast Frames: 649458, M-cast Frames : 736844,
- UnderSize Frames: 0, OverSize Frames: 0,
- Lost Frames : 0, Collided Frames: 0,
- Error Frames : 0
- Slot/Port 1/17 :
- Operational Status : up,
- Last Time Link Changed : SAT JUL 21 13:29:32 ,
- Number of Status Change: 14,
- Type : Ethernet,
- SFP/XFP : GBIC_LX,
- MAC address : 00:e0:b1:88:7a:ca,
- BandWidth (Megabits) : 1000, \t\tDuplex : Full,
- Autonegotiation : 1 [ 1000-F ],
- Long Frame Size(Bytes) : 9216,
- Rx :
- Bytes Received : 3899041477885, Unicast Frames : 5973796015,
- Broadcast Frames: 1022297, M-cast Frames : 6216442,
- UnderSize Frames: 0, OverSize Frames: 0,
- Lost Frames : 0, Error Frames : 0,
- CRC Error Frames: 0, Alignments Err : 0,
- Tx :
- Bytes Xmitted : 7606402846405, Unicast Frames : 6923023083,
- Broadcast Frames: 535951, M-cast Frames : 734670,
- UnderSize Frames: 0, OverSize Frames: 0,
- Lost Frames : 0, Collided Frames: 0,
- Error Frames : 0
- Slot/Port 1/18 :
- Operational Status : up,
- Last Time Link Changed : TUE JUL 10 20:07:35 ,
- Number of Status Change: 1,
- Type : Ethernet,
- SFP/XFP : GBIC_LX,
- MAC address : 00:e0:b1:88:7a:cb,
- BandWidth (Megabits) : 1000, \t\tDuplex : Full,
- Autonegotiation : 1 [ 1000-F ],
- Long Frame Size(Bytes) : 9216,
- Rx :
- Bytes Received : 1886022404785, Unicast Frames : 3553858670,
- Broadcast Frames: 593111, M-cast Frames : 4414740,
- UnderSize Frames: 0, OverSize Frames: 0,
- Lost Frames : 0, Error Frames : 0,
- CRC Error Frames: 0, Alignments Err : 0,
- Tx :
- Bytes Xmitted : 4636638066222, Unicast Frames : 4182200173,
- Broadcast Frames: 672385, M-cast Frames : 737023,
- UnderSize Frames: 0, OverSize Frames: 0,
- Lost Frames : 0, Collided Frames: 0,
- Error Frames : 0
- Slot/Port 1/19 :
- Operational Status : up,
- Last Time Link Changed : TUE JUL 10 20:07:35 ,
- Number of Status Change: 1,
- Type : Ethernet,
- SFP/XFP : GBIC_LX,
- MAC address : 00:e0:b1:88:7a:cc,
- BandWidth (Megabits) : 1000, \t\tDuplex : Full,
- Autonegotiation : 1 [ 1000-F ],
- Long Frame Size(Bytes) : 9216,
- Rx :
- Bytes Received : 3284269123587, Unicast Frames : 4752358365,
- Broadcast Frames: 608464, M-cast Frames : 5447949,
- UnderSize Frames: 0, OverSize Frames: 0,
- Lost Frames : 0, Error Frames : 0,
- CRC Error Frames: 0, Alignments Err : 0,
- Tx :
- Bytes Xmitted : 5311640617508, Unicast Frames : 5144991620,
- Broadcast Frames: 331705, M-cast Frames : 737037,
- UnderSize Frames: 0, OverSize Frames: 0,
- Lost Frames : 0, Collided Frames: 0,
- Error Frames : 0
- Slot/Port 1/20 :
- Operational Status : up,
- Last Time Link Changed : TUE JUL 10 20:07:35 ,
- Number of Status Change: 1,
- Type : Ethernet,
- SFP/XFP : GBIC_LX,
- MAC address : 00:e0:b1:88:7a:cd,
- BandWidth (Megabits) : 1000, \t\tDuplex : Full,
- Autonegotiation : 1 [ 1000-F ],
- Long Frame Size(Bytes) : 9216,
- Rx :
- Bytes Received : 3236018532708, Unicast Frames : 4681112109,
- Broadcast Frames: 1380516, M-cast Frames : 4896695,
- UnderSize Frames: 0, OverSize Frames: 0,
- Lost Frames : 0, Error Frames : 0,
- CRC Error Frames: 0, Alignments Err : 0,
- Tx :
- Bytes Xmitted : 5911333717140, Unicast Frames : 5464754664,
- Broadcast Frames: 405775, M-cast Frames : 742658,
- UnderSize Frames: 0, OverSize Frames: 0,
- Lost Frames : 0, Collided Frames: 0,
- Error Frames : 0
- Slot/Port 1/21 :
- Operational Status : down,
- Last Time Link Changed : TUE JUL 10 20:07:00 ,
- Number of Status Change: 0,
- Type : Ethernet,
- SFP/XFP : Not Present,
- MAC address : 00:e0:b1:88:7a:ce,
- BandWidth (Megabits) : - , \t\tDuplex : -,
- Autonegotiation : 1 [ 1000-F ],
- Long Frame Size(Bytes) : 9216,
- Rx :
- Bytes Received : 0, Unicast Frames : 0,
- Broadcast Frames: 0, M-cast Frames : 0,
- UnderSize Frames: 0, OverSize Frames: 0,
- Lost Frames : 0, Error Frames : 0,
- CRC Error Frames: 0, Alignments Err : 0,
- Tx :
- Bytes Xmitted : 0, Unicast Frames : 0,
- Broadcast Frames: 0, M-cast Frames : 0,
- UnderSize Frames: 0, OverSize Frames: 0,
- Lost Frames : 0, Collided Frames: 0,
- Error Frames : 0
- Slot/Port 1/22 :
- Operational Status : down,
- Last Time Link Changed : TUE JUL 10 20:07:00 ,
- Number of Status Change: 0,
- Type : Ethernet,
- SFP/XFP : Not Present,
- MAC address : 00:e0:b1:88:7a:cf,
- BandWidth (Megabits) : - , \t\tDuplex : -,
- Autonegotiation : 1 [ 1000-F ],
- Long Frame Size(Bytes) : 9216,
- Rx :
- Bytes Received : 0, Unicast Frames : 0,
- Broadcast Frames: 0, M-cast Frames : 0,
- UnderSize Frames: 0, OverSize Frames: 0,
- Lost Frames : 0, Error Frames : 0,
- CRC Error Frames: 0, Alignments Err : 0,
- Tx :
- Bytes Xmitted : 0, Unicast Frames : 0,
- Broadcast Frames: 0, M-cast Frames : 0,
- UnderSize Frames: 0, OverSize Frames: 0,
- Lost Frames : 0, Collided Frames: 0,
- Error Frames : 0
- Slot/Port 1/23 :
- Operational Status : up,
- Last Time Link Changed : TUE JUL 10 20:07:23 ,
- Number of Status Change: 1,
- Type : Ethernet,
- SFP/XFP : Not Present,
- MAC address : 00:e0:b1:88:7a:d0,
- BandWidth (Megabits) : 1000, \t\tDuplex : Full,
- Autonegotiation : 1 [ 1000-F 100-F 100-H 10-F 10-H ],
- Long Frame Size(Bytes) : 9216,
- Rx :
- Bytes Received : 47480740861071, Unicast Frames : 43710513494,
- Broadcast Frames: 35, M-cast Frames : 193922,
- UnderSize Frames: 0, OverSize Frames: 0,
- Lost Frames : 0, Error Frames : 0,
- CRC Error Frames: 0, Alignments Err : 0,
- Tx :
- Bytes Xmitted : 25258599147574, Unicast Frames : 37922584196,
- Broadcast Frames: 41226340, M-cast Frames : 205681208,
- UnderSize Frames: 0, OverSize Frames: 0,
- Lost Frames : 142, Collided Frames: 0,
- Error Frames : 0
- Slot/Port 1/24 :
- Operational Status : up,
- Last Time Link Changed : TUE JUL 10 20:07:23 ,
- Number of Status Change: 1,
- Type : Ethernet,
- SFP/XFP : Not Present,
- MAC address : 00:e0:b1:88:7a:d1,
- BandWidth (Megabits) : 1000, \t\tDuplex : Full,
- Autonegotiation : 1 [ 1000-F 100-F 100-H 10-F 10-H ],
- Long Frame Size(Bytes) : 9216,
- Rx :
- Bytes Received : 21974079860498, Unicast Frames : 19651286734,
- Broadcast Frames: 35, M-cast Frames : 13892,
- UnderSize Frames: 0, OverSize Frames: 0,
- Lost Frames : 0, Error Frames : 0,
- CRC Error Frames: 0, Alignments Err : 0,
- Tx :
- Bytes Xmitted : 10451229245959, Unicast Frames : 16359493791,
- Broadcast Frames: 41569959, M-cast Frames : 212023981,
- UnderSize Frames: 0, OverSize Frames: 0,
- Lost Frames : 61, Collided Frames: 0,
- Error Frames : 0
- Slot/Port 1/25 :
- Operational Status : up,
- Last Time Link Changed : TUE JUL 10 20:07:20 ,
- Number of Status Change: 1,
- Type : Ethernet,
- SFP/XFP : Unknown,
- MAC address : 00:e0:b1:88:7a:d2,
- BandWidth (Megabits) : 10000, \t\tDuplex : Full,
- Autonegotiation : 0 [ ],
- Long Frame Size(Bytes) : 9216,
- Rx :
- Bytes Received : 59487415030850, Unicast Frames : 65192451857,
- Broadcast Frames: 24546351, M-cast Frames : 93564941,
- UnderSize Frames: 0, OverSize Frames: 0,
- Lost Frames : 0, Error Frames : 0,
- CRC Error Frames: 0, Alignments Err : 0,
- Tx :
- Bytes Xmitted : 55648133024376, Unicast Frames : 63948017982,
- Broadcast Frames: 18488713, M-cast Frames : 132597425,
- UnderSize Frames: 0, OverSize Frames: 0,
- Lost Frames : 269, Collided Frames: 0,
- Error Frames : 0
- Slot/Port 1/26 :
- Operational Status : down,
- Last Time Link Changed : TUE JUL 10 20:07:09 ,
- Number of Status Change: 0,
- Type : Ethernet,
- SFP/XFP : Not Present,
- MAC address : 00:e0:b1:88:7a:d3,
- BandWidth (Megabits) : - , \t\tDuplex : -,
- Autonegotiation : 0 [ ],
- Long Frame Size(Bytes) : 9216,
- Rx :
- Bytes Received : 0, Unicast Frames : 0,
- Broadcast Frames: 0, M-cast Frames : 0,
- UnderSize Frames: 0, OverSize Frames: 0,
- Lost Frames : 0, Error Frames : 0,
- CRC Error Frames: 0, Alignments Err : 0,
- Tx :
- Bytes Xmitted : 0, Unicast Frames : 0,
- Broadcast Frames: 0, M-cast Frames : 0,
- UnderSize Frames: 0, OverSize Frames: 0,
- Lost Frames : 0, Collided Frames: 0,
- Error Frames : 0
- """,
- }
- snmp_get = {}
- snmp_getnext = {}
- http_get = {}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement