ether2any/tunnel/vrfc1149/conf.py

44 lines
1.2 KiB
Python

# ___________________________________________________
# | |
# | vrfc1149 - ip over the virtualized avian carrier |
# |___________________________________________________|
import os
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,
},
# ======== 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(),
# ======== Twitter settings ========
'twitter':
{
# account to read network traffic from
'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