008ce69a06e6dbdfd00f856f29860bf180810a28
[ccsdk/apps.git] / sdnr / wireless-transport / code-Carbon-SR1 / apps / devicemanager / README.md
1 # Devicemanager
2
3 The devicemanager application uses a persistent database to store NE related information.
4
5
6 ### OSS Faultmanagement umbrella
7
8 Destination of fault notifications of the network elements.
9
10 Test environment is the *evel-test-collector*.
11
12 ### Configuration "eventprovider.properties"
13
14 Located in karaf under /etc
15 Content like here:
16
17   ```
18   #Properties for Faultmanager. Password admin admin
19
20   eventReveicerUrl=http://127.0.0.1:30000/eventListener/v3
21   autorization=Basic YWRtaW46YWRtaW4=
22   sourceId=de305d54-75b4-431b-adb2-eb6b9e546014
23   httpTestUrl=https://plan.fritz.box:9092/ux/#
24   keyStore=etc/clientkeystore
25   keyStorePassword=daylight2016
26   ```
27
28 ### Configuration "aotsmconnector.properties"
29
30 Located in karaf under /etc
31 Content like here:
32
33   ```
34   #Properties
35
36   #soapurladd=off
37   soapurladd=http://soapserver.fritz.box/addmobility.php
38   #http timeout in seconds
39   soapaddtimeout=10
40   
41   #soapurlinq=off
42   soapurlinq=http://soapserver.fritz.box/inquire.php
43   #http timeout in seconds
44   soapinqtimeout=10
45    
46   #credentials
47   userName=user
48   userPassword=passwd
49   systemuser=user
50   assignedto=anotheruserid
51
52   #smtp fallback
53   #comment out if off
54   smtpHost=smtp.xxx.tld
55   smtpPort=587
56   smtpUsername=user
57   smtpPassword=passwd
58   smtpSender=odl@xxx.tld
59   smtpReceivers=email1@example.com,email2@example.com
60   ```
61
62 ### evel-test-collector
63
64 Home: [evel-test-collector](https://github.com/att/evel-test-collector)
65 Environment: Ubuntu 16.04 LTS, Python 2.7.12
66
67 #### install
68
69 Clone repository and install python packet manager.
70 ```
71 git clone https://github.com/att/evel-test-collector.git
72 sudo apt install python-pip
73 sudo pip install jsonschema
74
75 ```
76 Adapt to use the test script.
77
78   * Make the script executable.
79   * Add user credentials to config file
80
81 ```
82 cd evel-test-collector/scripts/linux
83 chmod 775 go-collector.sh
84 vi ../../config/collector.conf
85
86 ```
87
88
89 #### usage
90
91 cd evel-test-collector/scripts/linux
92