Details
-
Type: Bug
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: 0.8
-
Fix Version/s: None
-
Component/s: SA
-
Labels:
-
Environment:
NOC 0.8 Branch default OS Linux noc 3.8.0-30-generic #44~precise1-Ubuntu SMP Fri Aug 23 18:32:41 UTC 2013 x86_64 OS Brand Ubuntu 12.04.3 LTS Python 2.7.3 PostgreSQL 9.1.9 MongoDB 2.0.4 (64bit) Django 1.4.1 Pygments 1.2.2 South 0.7.3 argparse 1.2.1 coverage 3.6 distribute 0.6.24 docutils 0.7 gmpy 1.16 mercurial 2.7.1 mongoengine 0.6.20 netifaces 0.8 noc-pkg-cubism 1.2.2 noc-pkg-d3 3.2.2 noc-pkg-extjs 4.2.1 noc-pkg-famfamfam-silk 1.3 noc-pkg-font-awesome 3.2.1 noc-pkg-handlebars 1.0.0 noc-pkg-mxgraph 1.10.4.2 noc-pkg-openlayers 2.13 noc-pkg-shjs 0.6 noc-pkg-silk-companion1 1.0 protobuf 2.5.0 psycopg2 2.5.1 pyasn1 0.1.7 pyasn1-modules 0.0.5 pycrypto 2.6 pymongo 2.6.2 pysnmp 4.2.1 python-cjson 1.0.5 python-creole 0.2.4 sleekxmpp 1.1.11 tornado 3.1 wsgiref 0.1.2 NOC 0.8 Branch default OS Linux noc 3.8.0-30-generic #44~precise1-Ubuntu SMP Fri Aug 23 18:32:41 UTC 2013 x86_64 OS Brand Ubuntu 12.04.3 LTS Python 2.7.3 PostgreSQL 9.1.9 MongoDB 2.0.4 (64bit) Django 1.4.1 Pygments 1.2.2 South 0.7.3 argparse 1.2.1 coverage 3.6 distribute 0.6.24 docutils 0.7 gmpy 1.16 mercurial 2.7.1 mongoengine 0.6.20 netifaces 0.8 noc-pkg-cubism 1.2.2 noc-pkg-d3 3.2.2 noc-pkg-extjs 4.2.1 noc-pkg-famfamfam-silk 1.3 noc-pkg-font-awesome 3.2.1 noc-pkg-handlebars 1.0.0 noc-pkg-mxgraph 1.10.4.2 noc-pkg-openlayers 2.13 noc-pkg-shjs 0.6 noc-pkg-silk-companion1 1.0 protobuf 2.5.0 psycopg2 2.5.1 pyasn1 0.1.7 pyasn1-modules 0.0.5 pycrypto 2.6 pymongo 2.6.2 pysnmp 4.2.1 python-cjson 1.0.5 python-creole 0.2.4 sleekxmpp 1.1.11 tornado 3.1 wsgiref 0.1.2
-
Difficulty:Trivial
Description
Трейсбек и фейл interface_discovery на оптических стеках juniper ex. Вызывается наличием интерфейсов:
vcp-255/1/2 up up
vcp-255/1/2.32768 up up
Пока зачинил добавлением vcp в исключения. ./sa/profiles/Juniper/JUNOS/get_interfaces.py, строка 49:
internal_interfaces = re.compile(r"^(lc-|cbp|demux|dsc|em|gre|ipip|lsi|mtun|pimd|pime|pp|tap|pip|bme|jsrv)")
заменил на:
internal_interfaces = re.compile(r"^(lc-|cbp|demux|dsc|em|gre|ipip|lsi|mtun|pimd|pime|pp|tap|pip|bme|jsrv|vcp)")