[ create a new paste ] login | about

Link: http://codepad.org/7pOL2Pc5    [ raw code | fork ]

Plain Text, pasted on Apr 29:
Task failed: <type 'exceptions.Exception'>
Cannot detect interface type for br91
START OF TRACEBACK
------------------------------------------------------------------------
File: /opt/noc/sa/profiles/Vyatta/Vyatta/get_interfaces.py (Line: 104)
Function: type_by_name
   97     
   98         def type_by_name(cls, name):
   99             if name.startswith("eth"):
  100                 return "physical"
  101             elif name.startswith("lo"):
  102                 return "loopback"
  103             elif name.startswith("br"):
  104 ==>             return "aggregated"
  105             elif name.startswith("vtun"):
  106                 return "tunnel"
  107             else:
  108                 raise Exception("Cannot detect interface type for %s" % name)
  109     
  110         def get_si(self, si):
Variables:
                self = <Script(Thread-188, started 139909417723648)>
                name = 'br91'


Create a new paste based on this one


Comments: