install data files and run tracers
Change-Id: I1de8343a56d198880e2552d3c4c55537398ebd7f
This commit is contained in:
parent
77867c553b
commit
8bcf94ffd4
@ -12,6 +12,8 @@ function install_scalpels {
|
||||
|
||||
function init_scalpels {
|
||||
echo "run sca setup later"
|
||||
install -d $SCALPELS_DATA_DIR
|
||||
install -t $SCALPELS_DATA_DIR $SCALPELS_DIR/scripts/*
|
||||
}
|
||||
|
||||
function configure_scalpels {
|
||||
|
@ -34,7 +34,7 @@ def main():
|
||||
# setup re-setup actions
|
||||
setup = subparsers.add_parser("setup")
|
||||
setup.add_argument("-f", "--force", action="store_true", dest="force", help="re-create db")
|
||||
setup.add_argument("-d", "--data_dir", action="append", dest="data_dir", help="data dir where to find script resources", required=False)
|
||||
setup.add_argument("-d", "--data_dir", action="store", dest="data_dir", help="data dir where to find script resources", required=False)
|
||||
|
||||
parser = rootparser.parse_args()
|
||||
try:
|
||||
|
@ -3,3 +3,15 @@
|
||||
|
||||
echo "Hello, scalpels ci"
|
||||
sca setup -d /opt/stack/data/scalpels/scripts
|
||||
|
||||
echo "running rpc tracer"
|
||||
sca start -a rpc
|
||||
sca report
|
||||
|
||||
echo "running rabbit tracer"
|
||||
sca start -a rabbit
|
||||
sca report
|
||||
|
||||
echo "running traffic tracer"
|
||||
sca start -a traffic
|
||||
sca report
|
||||
|
Loading…
x
Reference in New Issue
Block a user