IPsec settings, input and output functions
List of Global Functions
Abort - Abort function
AutoPackages - Return packages needed to be installed and removed during Autoinstallation to insure module has all needed software installed.
Export - Dump the ipsec settings to a single map (For use by autoinstallation.)
Import - Get all ipsec settings from the first parameter (For use by autoinstallation.)
MainSummary - Textual summary for standalone Module
Modified - Prototypes
Modified - Data was modified?
Overview - Create an overview table with all configured connections
Read - Read all ipsec settings
Summary - Textual summary for auto installation and proposal
Write - Write all ipsec settings
commitChangedConnection - commit changes made to the current connection
getCurrentConnectionItems - put current connection into key/value items suitable for a table
getNetworkDevicesUP - get list of network devices where the current connection is mentioned in FREESWAN_UP
getNetworkDevicesUP_conn - get list of network devices where the specified connection is menioned in FREESWAN_UP
mayEditCurrentConnection - Check whether the currently selection Connection can be edited. Currently only x509 connections may be edited
newConnection - prepare a new connection for editing
setNetworkDevicesUP - set FREESWAN_UP parameter in network devices. devices that mention the current connection but are not passed to this function will have the current connection removed.
setNoConnection - empty any information about editing an existing connection
List of Global Variables
modified - Data was modified?
write_only - Write only, used during autoinstallation. Don't run services and SuSEconfig, it's all done at one place.
Return packages needed to be installed and removed during Autoinstallation to insure module has all needed software installed.
Return value
map - with 2 lists.
Dump the ipsec settings to a single map (For use by autoinstallation.)
Return value
map - Dumped settings (later acceptable by Import ())
Get all ipsec settings from the first parameter (For use by autoinstallation.)
Function parameters
map importsettings
Return value
boolean - True on success
Textual summary for standalone Module
Return value
string - summary of the current configuration
Create an overview table with all configured connections
Return value
list - table items
Textual summary for auto installation and proposal
Return value
list - summary of the current configuration
put current connection into key/value items suitable for a table
Return value
list - `item(`id("key"), "key", "value")
get list of network devices where the current connection is mentioned in FREESWAN_UP
Return value
list<string>
get list of network devices where the specified connection is menioned in FREESWAN_UP
Function parameters
string conn
Return value
list<string>
Check whether the currently selection Connection can be edited. Currently only x509 connections may be edited
Return value
string - nil if ok, message why it is not possible otherwise
set FREESWAN_UP parameter in network devices. devices that mention the current connection but are not passed to this function will have the current connection removed.
Function parameters
list devices
Return value
boolean