diff options
author | Narayan Desai <desai@mcs.anl.gov> | 2008-01-08 03:43:02 +0000 |
---|---|---|
committer | Narayan Desai <desai@mcs.anl.gov> | 2008-01-08 03:43:02 +0000 |
commit | e3bd8d2ecf13040bdb12484988db8614f6b397fc (patch) | |
tree | 27cbc431c2bb60af74395b13b235065cea054089 /src/lib/Options.py | |
parent | 507294a0a0bd6dfbb1bcf2c40bbac7fcb5bd1863 (diff) | |
download | bcfg2-e3bd8d2ecf13040bdb12484988db8614f6b397fc.tar.gz bcfg2-e3bd8d2ecf13040bdb12484988db8614f6b397fc.tar.bz2 bcfg2-e3bd8d2ecf13040bdb12484988db8614f6b397fc.zip |
add options for bcfg2-remote
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4201 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/lib/Options.py')
-rw-r--r-- | src/lib/Options.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/Options.py b/src/lib/Options.py index 6f0dedc1e..6437bc97c 100644 --- a/src/lib/Options.py +++ b/src/lib/Options.py @@ -202,6 +202,10 @@ CLIENT_USER = Option('the user to provide for authentication', default='root', INTERACTIVE = Option('prompt the user for each change', default=False, cmd='-I', ) +AGENT_PORT = Option('Agent port', default=6789, cmd='-p', odesc='<port>', + cf=('communication', 'agent-port')) +AGENT_HOST = Option('Remote host', default=False, cmd='-H', odesc='<hostname>') + class OptionParser(OptionSet): '''OptionParser bootstraps option parsing, getting the value of the config file''' def __init__(self, args): |