Commit b6b4d782 authored by Simon Redman's avatar Simon Redman

Tweak input regexes to correctly match node naming convention

parent f7a6a7f2
......@@ -46,10 +46,10 @@ if __name__ == "__main__":
help="Hostname or IP of the node which is listening to the OSPF reports (Default: {default})".format(default=ospf_sniffer_configurator.DEFAULT_CONTROLLER))
parser.add_argument("--controller-port", action='store', type=int, default=ospf_sniffer_configurator.DEFAULT_CONTROLLER_PORT,
help="Port number on the server listening for OSPF reports (Default: {default})".format(default=ospf_sniffer_configurator.DEFAULT_CONTROLLER_PORT))
parser.add_argument("--ovs-regex", action='store', type=str, default='.*ovs.*',
help="Regex to distinguish OVS nodes by label (Default \".*ovs.*\")")
parser.add_argument("--host-regex", action='store', type=str, default='.*host.*',
help="Regex to distinguish host nodes by label (Default \".*host.*\")")
parser.add_argument("--ovs-regex", action='store', type=str, default='^ovs.*',
help="Regex to distinguish OVS nodes by label (Default \"^ovs.*\")")
parser.add_argument("--host-regex", action='store', type=str, default='^host.*',
help="Regex to distinguish host nodes by label (Default \"^host.*\")")
args = parser.parse_args()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment