aboutsummaryrefslogtreecommitdiffstats
path: root/extras/vpp_config/vpp_config.py
diff options
context:
space:
mode:
authorjdenisco <jdenisco@cisco.com>2018-12-18 15:29:45 -0500
committerDamjan Marion <dmarion@me.com>2018-12-19 07:25:12 +0000
commitb0b9dadc5c57b96ed43427ca78430e52fed9196e (patch)
tree0e951f9123e8a17342abca58fd8873f80997e2e1 /extras/vpp_config/vpp_config.py
parent4d3739dddb00277690025aa85caad08d30f8f4ab (diff)
Allow the user to select master or release during the install
Change-Id: Ifef937c4347ba40bde55958f93f2d1720996539f Signed-off-by: jdenisco <jdenisco@cisco.com>
Diffstat (limited to 'extras/vpp_config/vpp_config.py')
-rwxr-xr-xextras/vpp_config/vpp_config.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/extras/vpp_config/vpp_config.py b/extras/vpp_config/vpp_config.py
index 75423b84ad1..145bf4ea03c 100755
--- a/extras/vpp_config/vpp_config.py
+++ b/extras/vpp_config/vpp_config.py
@@ -427,8 +427,14 @@ def autoconfig_install():
question = "Do you want to install VPP [Y/n]? "
answer = autoconfig_yn(question, 'y')
if answer == 'y':
+ question = "Do you want to install the release version [Y/n]? "
+ answer = autoconfig_yn(question, 'y')
+ if answer == 'y':
+ branch = 'release'
+ else:
+ branch = 'master'
logger.setLevel(logging.INFO)
- vutil.install_vpp(node)
+ vutil.install_vpp(node, branch)
# Set the logging level back
logger.setLevel(logging.ERROR)