Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # ./noc interface-profile --debug apply 6
- 2021-08-16 16:43:46,890 [noc.core.ioloop.util] Setting up asyncio event loop policy
- 2021-08-16 16:43:46,890 [noc.core.ioloop.util] Setting up default event loop
- 2021-08-16 16:43:46,935 [noc.core.dcs.base] Resolve near service postgres
- 2021-08-16 16:43:46,939 [noc.core.dcs.base] Resolved near service postgres to ['10.200.0.85:5432']
- 2021-08-16 16:43:47,192 [py.warnings] /opt/noc/core/profile/base.py:72: UserWarning: None: 'pattern_more' '^---MORE---' pattern must be of binary type. Support for text values will be removed in NOC 20.2
- warnings.warn(
- 2021-08-16 16:43:47,223 [noc.core.cache.base] Using cache backend: noc.core.cache.mongo.MongoCache
- 2021-08-16 16:43:47,304 [asyncio] Using selector: EpollSelector
- 2021-08-16 16:43:47,304 [noc.core.dcs.base] [mongo] Starting resolver (near=False)
- 2021-08-16 16:43:47,305 [noc.core.dcs.base] [mongo] Requesting changes from index 0
- 2021-08-16 16:43:47,305 [noc.core.http.client] HTTP GET http://consul:8500/v1/health/service/mongo?passing=1
- 2021-08-16 16:43:47,307 [noc.core.http.client] HTTP Response 200
- 2021-08-16 16:43:47,308 [noc.core.dcs.base] [mongo] Index changed 0 -> 2469. Applying changes
- 2021-08-16 16:43:47,308 [noc.core.dcs.base] [mongo] Set active services to: mongo: 10.200.0.85:27017
- 2021-08-16 16:43:47,308 [noc.core.dcs.base] [mongo] Stopping resolver
- 2021-08-16 16:43:47,309 [noc.core.mongo.connection] Connecting to MongoDB {'db': 'noc', 'username': 'noc', 'password': '********', 'authentication_source': 'noc', 'replicaSet': 'noc', 'readPreference': 'secondaryPreferred', 'maxIdleTimeMS': 60000, 'host': 'mongodb://noc:********@10.200.0.85:27017/noc'}
- kerro-dr1 (CCR1036-8G-2S+):
- ether1-DOWN-OLT1,2 -/-/- Set IntPolling
- ether2-UK_VC -/-/- Set IntPolling
- ether3-UK-VC -/-/- Set IntPolling
- ether4-UK-VC -/-/- Set IntPolling
- ether5-HEX(Pi+4G) -/-/- Set IntPolling
- ether6 -/-/- Set IntPolling
- ether7-console -/-/- Set IntPolling
- ether8 -/-/- Set IntPolling
- sfpplus1-Gruzino-as1(1/0/16) -/-/- Set IntPolling
- sfpplus2-Vaskelovo-as(1/0/14) -/-/- Set IntPolling
- root@node03:/opt/noc# ./noc interface-profile --debug apply-confdb 6
- 2021-08-16 16:44:11,900 [noc.core.ioloop.util] Setting up asyncio event loop policy
- 2021-08-16 16:44:11,900 [noc.core.ioloop.util] Setting up default event loop
- 2021-08-16 16:44:11,955 [noc.core.dcs.base] Resolve near service postgres
- 2021-08-16 16:44:11,959 [noc.core.dcs.base] Resolved near service postgres to ['10.200.0.85:5432']
- 2021-08-16 16:44:12,179 [py.warnings] /opt/noc/core/profile/base.py:72: UserWarning: None: 'pattern_more' '^---MORE---' pattern must be of binary type. Support for text values will be removed in NOC 20.2
- warnings.warn(
- 2021-08-16 16:44:12,210 [noc.core.cache.base] Using cache backend: noc.core.cache.mongo.MongoCache
- 2021-08-16 16:44:12,289 [asyncio] Using selector: EpollSelector
- 2021-08-16 16:44:12,290 [noc.core.dcs.base] [mongo] Starting resolver (near=False)
- 2021-08-16 16:44:12,290 [noc.core.dcs.base] [mongo] Requesting changes from index 0
- 2021-08-16 16:44:12,291 [noc.core.http.client] HTTP GET http://consul:8500/v1/health/service/mongo?passing=1
- 2021-08-16 16:44:12,293 [noc.core.http.client] HTTP Response 200
- 2021-08-16 16:44:12,294 [noc.core.dcs.base] [mongo] Index changed 0 -> 2469. Applying changes
- 2021-08-16 16:44:12,294 [noc.core.dcs.base] [mongo] Set active services to: mongo: 10.200.0.85:27017
- 2021-08-16 16:44:12,294 [noc.core.dcs.base] [mongo] Stopping resolver
- 2021-08-16 16:44:12,295 [noc.core.mongo.connection] Connecting to MongoDB {'db': 'noc', 'username': 'noc', 'password': '********', 'authentication_source': 'noc', 'replicaSet': 'noc', 'readPreference': 'secondaryPreferred', 'maxIdleTimeMS': 60000, 'host': 'mongodb://noc:********@10.200.0.85:27017/noc'}
- kerro-dr1 (CCR1036-8G-2S+):
- 2021-08-16 16:44:12,361 [noc.core.loader.base] [profile] Loading profile MikroTik.RouterOS
- 2021-08-16 16:44:12,363 [py.warnings] /opt/noc/core/profile/base.py:72: UserWarning: MikroTik.RouterOS: 'pattern_more' 'Please press "Enter" to continue!' pattern must be of binary type. Support for text values will be removed in NOC 20.2
- warnings.warn(
- 2021-08-16 16:44:12,363 [py.warnings] /opt/noc/core/profile/base.py:78: UserWarning: MikroTik.RouterOS: 'pattern_more' '\n' command must be of binary type. Support for text values will be removed in NOC 20.2
- warnings.warn(
- 2021-08-16 16:44:12,363 [py.warnings] /opt/noc/core/profile/base.py:72: UserWarning: MikroTik.RouterOS: 'pattern_more' 'q to abort' pattern must be of binary type. Support for text values will be removed in NOC 20.2
- warnings.warn(
- 2021-08-16 16:44:12,363 [py.warnings] /opt/noc/core/profile/base.py:78: UserWarning: MikroTik.RouterOS: 'pattern_more' 'q' command must be of binary type. Support for text values will be removed in NOC 20.2
- warnings.warn(
- 2021-08-16 16:44:12,363 [py.warnings] /opt/noc/core/profile/base.py:72: UserWarning: MikroTik.RouterOS: 'pattern_more' '\\[Q quit\\|.+\\]' pattern must be of binary type. Support for text values will be removed in NOC 20.2
- warnings.warn(
- 2021-08-16 16:44:12,363 [py.warnings] /opt/noc/core/profile/base.py:78: UserWarning: MikroTik.RouterOS: 'pattern_more' ' ' command must be of binary type. Support for text values will be removed in NOC 20.2
- warnings.warn(
- 2021-08-16 16:44:12,363 [py.warnings] /opt/noc/core/profile/base.py:72: UserWarning: MikroTik.RouterOS: 'pattern_more' '\\[[yY]/[nN]\\]' pattern must be of binary type. Support for text values will be removed in NOC 20.2
- warnings.warn(
- 2021-08-16 16:44:12,363 [py.warnings] /opt/noc/core/profile/base.py:78: UserWarning: MikroTik.RouterOS: 'pattern_more' 'y' command must be of binary type. Support for text values will be removed in NOC 20.2
- warnings.warn(
- 2021-08-16 16:44:12,404 [noc.core.loader.base] [tokenizer] Loading routeros
- 2021-08-16 16:44:12,466 [noc.models] Loading model inv.NetworkSegment
- [ -> IntPolling] Check selector
- ether1-DOWN-OLT1,2 -/-/- Not matched
- ether2-UK_VC -/-/- Not matched
- ether3-UK-VC -/-/- Not matched
- ether4-UK-VC -/-/- Not matched
- ether5-HEX(Pi+4G) -/-/- Not matched
- ether6 -/-/- Not matched
- ether7-console -/-/- Not matched
- ether8 -/-/- Not matched
- sfpplus1-Gruzino-as1(1/0/16) -/-/- Not matched
- sfpplus2-Vaskelovo-as(1/0/14) -/-/- Not matched
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement