+def setup_service(options, config):
+ options.add_group('ppp', 'PPP network interfaces', [
+ Option('pickle_dir', V.String, metavar='DIR',
+ help='store persistent data in DIR directory'),
+ Option('config_options_dir', V.String, metavar='DIR',
+ help='write options config files in DIR directory'),
+ Option('config_pap_dir', V.String, metavar='DIR',
+ help='write pap-secrets config file in DIR directory'),
+ Option('config_chap_dir', V.String, metavar='DIR',
+ help='write chap-secrets config file in DIR directory'),
+ Option('config_peers_dir', V.String, metavar='DIR',
+ help='write peer config files in DIR directory'),
+ ])
+