ether2any/tunnel/vrfc1149/conf.py

44 lines
1.2 KiB
Python
Raw Normal View History

# ___________________________________________________
# | |
2011-12-26 01:33:05 +01:00
# | vrfc1149 - ip over the virtualized avian carrier |
# |___________________________________________________|
import os
2011-12-26 01:33:05 +01:00
from phelper import UPHelper, DPHelper
Conf = {
# ======== network settings ========
# ipsettings for the device
'devname': '',
'network':
{
'address': '10.10.10.10',
'netmask': '255.255.255.0',
#gateway: '',
'mtu': 1400,
},
2011-12-26 01:33:05 +01:00
# ======== 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': UPHelper(),
2011-12-26 01:33:05 +01:00
# ======== Twitter settings ========
'twitter':
{
# account to read network traffic from
2012-01-31 00:24:21 +01:00
'endpoint': None,
# 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