summaryrefslogtreecommitdiffstats
path: root/src/lib/Options.py
diff options
context:
space:
mode:
authorNarayan Desai <desai@mcs.anl.gov>2008-01-08 03:43:02 +0000
committerNarayan Desai <desai@mcs.anl.gov>2008-01-08 03:43:02 +0000
commite3bd8d2ecf13040bdb12484988db8614f6b397fc (patch)
tree27cbc431c2bb60af74395b13b235065cea054089 /src/lib/Options.py
parent507294a0a0bd6dfbb1bcf2c40bbac7fcb5bd1863 (diff)
downloadbcfg2-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.py4
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):