Home | Trees | Index | Help |
|
---|
Package g4ds :: Module maintainlib |
|
Functions to g4ds for maintainence.
Grid for Digital Security (G4DS)
This module provides the functionality. The access is provided by the
module maintain
.
Author: Michael Pilgermann
Contact: mailto:mpilgerm@glam.ac.uk
License: GPL (General Public License)
Function Summary | |
---|---|
Installs enpoints for a member and a community. | |
addKsdl(filename,
indent)
| |
Applies a member description to the local managers from a file. | |
Add a route to the routing table manually. | |
Applies a community description to the local managers from a file. | |
Prints information about a certain community. | |
createServiceKeys(indent)
| |
Downloads the community description from the given member. | |
downloadAndInstallKsdl(serviceid,
destinationmemberid,
indent)
| |
Polls routing information from connected gateways and applies infos to the local routing table. | |
Causes a flush of the entire routing table. | |
Generates the member description for the local node. | |
Prints information about a remote node. | |
Prints information about a certain node. | |
printPermissionMatrix(indent)
| |
Print the routing table. | |
Prints information about one service. | |
Prints list of known services with basic information. | |
Uploads the local member description to certain nodes. | |
Show log entries. | |
recalculatePermissions(indent)
| |
Recreates the routing table by the use of gateway information. | |
Sends a test message to a member using a certain community. | |
Prints information about the local node. | |
Performs the subscription of a member to a community. | |
subscribeMemberToService(memberid,
serviceid,
indent)
| |
uploadKsdl(serviceid,
indent)
|
Variable Summary | |
---|---|
int |
COLUMN_INPUT = 70 |
int |
COLUMN_SUCESS = 80 |
int |
LENGTH_LINE = 89 |
String |
oneindent : The space to indent between functions within the hierarchy |
String |
SUCESS_NEG : Default string for unsucessful action |
String |
SUCESS_POS : Default string for sucessful action |
str |
SUCESS_SKIP = '\x1b[33;01m SKIP \x1b[39;49;00m'
|
str |
SUCESS_WARN = '\x1b[33;01m !! \x1b[39;49;00m'
|
Function Details |
---|
addEndpointsForMember(memberid=None, communityid=None, indent=0)Installs enpoints for a member and a community. |
addMdl(filename=None, indent=0)Applies a member description to the local managers from a file. |
addRoute(indent=0)Add a route to the routing table manually. |
addTcdl(filename=None, indent=0)Applies a community description to the local managers from a file. |
communityInfo(id)Prints information about a certain community. |
downloadAndInstallCommunityDescription(communityid=None, destinationmemberid=None, indent=0)Downloads the community description from the given member. |
dynamicRoutingUpdate(indent=0)Polls routing information from connected gateways and applies infos to the local routing table. |
flushRoutingTable(indent=0)Causes a flush of the entire routing table. |
getLocalMdl(filename='./local.mdl', indent=0)Generates the member description for the local node. Uses information from the local managers and config file. |
nodeInfo(id)Prints information about a remote node. |
printNodeDescription(dict, local=0)Prints information about a certain node. |
printRoutingTable(indent=0)Print the routing table. |
printServiceInformation(serviceid, indent=0)Prints information about one service. |
printServiceList(indent=0)Prints list of known services with basic information. |
pushMemberDescription(memberid=None, communityid=None, destinationList=[], indent=0)Uploads the local member description to certain nodes.
|
readLog(n=10, indent=0)Show log entries. |
recalculateRoutingTable(indent=0)Recreates the routing table by the use of gateway information. |
sendTestMessage(indent=0)Sends a test message to a member using a certain community. |
status()Prints information about the local node. |
subscribeMemberToCommunity(memberid=None, communityid=None, destination=None, indent=0)Performs the subscription of a member to a community. If the community is not yet known on this system, it's attempted to be downloaded.
|
Variable Details |
---|
COLUMN_INPUT
|
COLUMN_SUCESS
|
LENGTH_LINE
|
oneindentThe space to indent between functions within the hierarchy
|
SUCESS_NEGDefault string for unsucessful action
|
SUCESS_POSDefault string for sucessful action
|
SUCESS_SKIP
|
SUCESS_WARN
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.0 on Sat Oct 22 22:52:46 2005 | http://epydoc.sf.net |