-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.py
44 lines (35 loc) · 924 Bytes
/
config.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
from os import path
#data log in to lms
username = "username for LMS"
password = "password for LMS"
url_lms = "full path to lms like http://192.168.1.2"
slownik_danych_logowania_1 = {
"id": 1,
"host": "adres_ip",
"user": "user_name",
"password": "password",
"port": "port number!",
"name":"name for olt"
}
slownik_danych_logowania_2 = {
"id": 2,
"host": "second adres ip",
"user": "user_name",
"password":"password",
"port":"port number",
"name":"name for olt"
}
#data log in to olt
lista_na_slowniki_danych_logowania = [
slownik_danych_logowania_1,
slownik_danych_logowania_2
]
ilosc_oltow = len(lista_na_slowniki_danych_logowania)
sciezka = dirname = path.dirname(__file__)
#a max number of ont per slot
maksymalny_numer_id = 127
wyjatki_lms = [
"some_desc_to_skip",
]
#set the value if the signal is not appeared in olt
wartosc_gdy_nie_pokazuje_sygnalu = -50