X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=test%2Fusecases%2Flinkfailure%2Fapp%2Fmain.py;h=30541d4c51097c926f321bb4a99b61bc8f6da516;hb=330db2ab9b62777a96450527eb1978e15986a0d4;hp=394af8d58edd30b83e4708be796f59df25a24638;hpb=0a8f333312b517791949d94efd9d2531ed7a00c5;p=nonrtric.git diff --git a/test/usecases/linkfailure/app/main.py b/test/usecases/linkfailure/app/main.py index 394af8d5..30541d4c 100644 --- a/test/usecases/linkfailure/app/main.py +++ b/test/usecases/linkfailure/app/main.py @@ -91,13 +91,13 @@ def read_o_ru_to_o_du_map_from_file(map_file): if __name__ == '__main__': parser = argparse.ArgumentParser(prog='PROG') - parser.add_argument('--mrHost', help='The URL of the MR host', default="http://message-router.onap") - parser.add_argument('--mrPort', help='The port of the MR host', type=int, default=3904) - parser.add_argument('--mrTopic', help='The topic to poll messages from', default="unauthenticated.SEC_FAULT_OUTPUT") - parser.add_argument('--sdnrHost', help='The URL of the SNDR host', default="http://localhost") - parser.add_argument('--sdnrPort', help='The port of the SDNR host', type=int, default=9990) - parser.add_argument('--oRuTooDuMapFile', help='A file with the mapping between O-RU ID and O-DU ID as a dictionary', default="o-ru-to-o-du-map.txt") - parser.add_argument('--pollTime', help='The time between polls', type=int, default=10) + parser.add_argument('--mrHost', help='The URL of the MR host (default: %(default)s)', default="http://message-router.onap") + parser.add_argument('--mrPort', help='The port of the MR host (default: %(default)d)', type=int, default=3904) + parser.add_argument('--mrTopic', help='The topic to poll messages from (default: %(default)s)', default="unauthenticated.SEC_FAULT_OUTPUT") + parser.add_argument('--sdnrHost', help='The URL of the SNDR host (default: %(default)s)', default="http://localhost") + parser.add_argument('--sdnrPort', help='The port of the SDNR host (default: %(default)d)', type=int, default=9990) + parser.add_argument('--oRuTooDuMapFile', help='A file with the mapping between O-RU ID and O-DU ID as a dictionary (default: %(default)s)', default="o-ru-to-o-du-map.txt") + parser.add_argument('--pollTime', help='The time between polls (default: %(default)d)', type=int, default=10) parser.add_argument('-v', '--verbose', action='store_true', help='Turn on verbose printing') parser.add_argument('--version', action='version', version='%(prog)s 1.0') args = vars(parser.parse_args())