blob: 6b40be54c7b0251b136ae2a5cb37c70e1ce7d41e [file] [log] [blame]
Ladue, David (dl3158)ba9a3122018-01-23 10:25:08 -05001# org.onap.dcae
2# ================================================================================
3# Copyright (c) 2017 AT&T Intellectual Property. All rights reserved.
4# ================================================================================
5# Licensed under the Apache License, Version 2.0 (the "License");
6# you may not use this file except in compliance with the License.
7# You may obtain a copy of the License at
8#
9# http://www.apache.org/licenses/LICENSE-2.0
10#
11# Unless required by applicable law or agreed to in writing, software
12# distributed under the License is distributed on an "AS IS" BASIS,
13# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14# See the License for the specific language governing permissions and
15# limitations under the License.
16# ============LICENSE_END=========================================================
17#
18# ECOMP is a trademark and service mark of AT&T Intellectual Property.
19
20import argparse
21import array
22import asyncio
23import collections
24import datetime
25import errno
26from pysnmp.carrier.asyncio.dgram import udp, udp6
27from pysnmp.entity import engine, config
28from pysnmp.entity.rfc3413 import ntfrcv
29from pysnmp.proto.api import v2c
30import json
31import logging
32import logging.handlers
33import os
34import pprint
35import re
36import requests
37import signal
38import socket
39import string
40import sys
41import time
42import traceback
43from trapd_dmaap_config import read_dmaap_config
44from trapd_exit import cleanup_and_exit
45from trapd_http_session import init_session_obj
46from trapd_perm_status import log_to_perm_status
47from trapd_runtime_pid import save_pid, rm_pid
48from trapd_trap_config import read_trap_config
49from trapd_yaml_config import read_yaml_config
50import unicodedata
51import uuid as uuid_mod
52import yaml
53
54install_reqs = parse_requirements("requirements.txt", session=PipSession())
55reqs = [str(ir.req) for ir in install_reqs]
56
57setup(
58 name = "dcaegen2_collectors_snmptrap",
59 description = "snmp trap receiver for a DCAE docker image",
60 version = "1.0",
61 packages=find_packages(),
62 author = "Dave LaDue",
63 author_email = "dl3158@att.com",
64 license='Apache 2',
65 keywords = "",
66 url = "",
67 install_requires=reqs
68)