X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=sidecars%2Flistener%2Frun_replay.sh;fp=sidecars%2Flistener%2Frun_replay.sh;h=d3cb6725d14489ac7e1f8925b03ace83e412b321;hb=3cbdc585f92f4299f4e05108f9ed76766a72ff84;hp=0000000000000000000000000000000000000000;hpb=c111a6cc35edbf493c7870077c091b04a3408f99;p=ric-app%2Fmc.git diff --git a/sidecars/listener/run_replay.sh b/sidecars/listener/run_replay.sh new file mode 100755 index 0000000..d3cb672 --- /dev/null +++ b/sidecars/listener/run_replay.sh @@ -0,0 +1,66 @@ +#!/usr/bin/env bash +# vim: ts=4 sw=4 noet: +#---------------------------------------------------------------------------------- +# +# Copyright (c) 2018-2019 AT&T Intellectual Property. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +#--------------------------------------------------------------------------------- + + +# ---------------------------------------------------------------------- +# Mnemonic: run_replay.sh +# Abstract: Simple script to make starting the replay binary easier. +# Defaults: +# /var/lib/mc/listener -- directory for fifos +# +# The input file can be supplied with -f and if omitted then +# standard intput is assumed. This should allow the following +# when run in a docker container: +# docker run --rm -i -v /tmp/replay_fifos:/var/lib/mc/listener run_replay.sh