You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
44 lines
1.2 KiB
44 lines
1.2 KiB
13 years ago
|
# ___________________________________________________
|
||
|
# | |
|
||
13 years ago
|
# | vrfc1149 - ip over the virtualized avian carrier |
|
||
13 years ago
|
# |___________________________________________________|
|
||
|
|
||
|
import os
|
||
13 years ago
|
from phelper import UPHelper, DPHelper
|
||
13 years ago
|
|
||
|
Conf = {
|
||
|
# ======== network settings ========
|
||
|
# ipsettings for the device
|
||
|
'devname': '',
|
||
|
'network':
|
||
|
{
|
||
13 years ago
|
'address': '10.10.10.11',
|
||
13 years ago
|
'netmask': '255.255.255.0',
|
||
|
#gateway: '',
|
||
|
'mtu': 1400,
|
||
|
},
|
||
|
|
||
13 years ago
|
# ======== message coding ========
|
||
|
# which packaging helper should be used to en-/decode the messages
|
||
|
# currently implemented are
|
||
|
# UPHelper Encodes 280 chars in one tweet, sometimes breaks
|
||
|
# DPHelper Encodes 138 chars in one tweet, more reliable
|
||
|
'coder': DPHelper(),
|
||
|
|
||
13 years ago
|
# ======== Twitter settings ========
|
||
|
'twitter':
|
||
|
{
|
||
|
# account to read network traffic from
|
||
13 years ago
|
'endpoint': "tw2tw2tw2",
|
||
13 years ago
|
|
||
|
# if set to None, these will be overwritten by config_auth.py
|
||
|
# if they are set to none there, this script will give you an
|
||
|
# url to authorize this script to twitter and write the
|
||
|
# access key / access secret to config_auth.py
|
||
|
'ACCESS_KEY': None,
|
||
|
'ACCESS_SECRET': None,
|
||
|
},
|
||
|
}
|
||
|
|
||
|
import conf_auth
|