예제 #1
0
def parse_args(args):
    parser = ArgumentParser(description=debugVertexRoute.__doc__, add_help=True, formatter_class=RawTextHelpFormatter)
    parser.add_argument('--ri_fqname', help='FQName of the Routing Instance')
    parser.add_argument('--vn_fqname', help='FQName of the Virtual Network')
    parser.add_argument('--prefix', help='Route prefix to verify')
    parser.add_argument('--vrouters', help='List of vrouters to verify')
    return parser.parse_args(args)
예제 #2
0
def parse_args(args):
    parser = ArgumentParser(description=debugVertexRoute.__doc__, add_help=True, formatter_class=RawTextHelpFormatter)
    parser.add_argument('--ri_fqname', help='FQName of the Routing Instance')
    parser.add_argument('--vn_fqname', help='FQName of the Virtual Network')
    parser.add_argument('--prefix', help='Route prefix to verify')
    parser.add_argument('--vrouters', help='List of vrouters to verify')
    parser.add_argument('--rt_type', help='Routing Table type where route belongs to (inet/inet6/bridge/evpn)')
    return parser.parse_args(args)
예제 #3
0
def parse_args(args):
    parser = ArgumentParser(description='Debug utility for Flow', add_help=True)
    #parser.add_argument('--source_ip', help='Source IP of the flow', required=True)
    #parser.add_argument('--dest_ip', help='Destination IP of the flow', required=True)
    #parser.add_argument('--source_vn', help='VN of the source IP')
    #parser.add_argument('--dest_vn', help='VN of the destination IP')
    #parser.add_argument('--protocol', help='L3 Protocol of the flow')
    #parser.add_argument('--source_port', help='Source Port of the flow')
    #parser.add_argument('--dest_port', help='Destination Port of the flow')
    return parser.parse_args(args)
예제 #4
0
def parse_args(args):
    parser = ArgumentParser(description=debugVertexSC.__doc__, add_help=True, formatter_class=RawTextHelpFormatter)
    parser.add_argument('--left_vn_fq_name', help='FQName of the Left VN', required=True)
    parser.add_argument('--right_vn_fq_name', help='FQName of the Right VN', required=True)
    parser.add_argument('--left_ip', help='Left CIDR specified in policy')
    parser.add_argument('--right_ip', help='Right CIDR specified in policy')
    parser.add_argument('--protocol', help='L3 Protocol of the flow')
    parser.add_argument('--left_port', help='Source Port of the flow')
    parser.add_argument('--right_port', help='Destination Port of the flow')
    return parser.parse_args(args)
예제 #5
0
def parse_args(args):
    parser = ArgumentParser(description='Debug utility for Flow',
                            add_help=True)
    #parser.add_argument('--source_ip', help='Source IP of the flow', required=True)
    #parser.add_argument('--dest_ip', help='Destination IP of the flow', required=True)
    #parser.add_argument('--source_vn', help='VN of the source IP')
    #parser.add_argument('--dest_vn', help='VN of the destination IP')
    #parser.add_argument('--protocol', help='L3 Protocol of the flow')
    #parser.add_argument('--source_port', help='Source Port of the flow')
    #parser.add_argument('--dest_port', help='Destination Port of the flow')
    return parser.parse_args(args)
예제 #6
0
def parse_args(args):
    parser = ArgumentParser(description=debugVertexFlow.__doc__, add_help=True, formatter_class=RawTextHelpFormatter)
    parser.add_argument('--source_ip', help='Source IP of the flow', required=True)
    parser.add_argument('--dest_ip', help='Destination IP of the flow', default='')
    parser.add_argument('--source_vn', help='VN of the source IP', required=True)
    parser.add_argument('--dest_vn', help='VN of the destination IP', default='')
    parser.add_argument('--protocol', help='L3 Protocol of the flow', default='')
    parser.add_argument('--source_port', help='Source Port of the flow', default='')
    parser.add_argument('--dest_port', help='Destination Port of the flow', default='')
    parser.add_argument('--source_ip_type', help='source ip type', default='')
    parser.add_argument('--dest_ip_type', help='dest ip type', default='')
    return parser.parse_args(args)
예제 #7
0
def parse_args(args):
    parser = ArgumentParser(description=debugVertexIP.__doc__, add_help=True, formatter_class=RawTextHelpFormatter)
    parser.add_argument('--instance_ip_address', help='Instance ip address to debug')
    parser.add_argument('--virtual_network', help='Virtual network uuid')
    return parser.parse_args(args)
예제 #8
0
def parse_args(args):
    parser = ArgumentParser(description=debugVertexSG.__doc__, add_help=True, formatter_class=RawTextHelpFormatter)
    parser.add_argument('--display_name', help='Display name')
    return parser.parse_args(args)
예제 #9
0
 def __init__(self):
     parser = ArgumentParser(description='cluster status',
                             add_help=True,
                             formatter_class=RawTextHelpFormatter)
     self.args = []
     self.args = parser.parse_args(self.args)
예제 #10
0
 def __init__(self):
     parser = ArgumentParser(description='cluster status', 
                             add_help=True, 
                             formatter_class=RawTextHelpFormatter)
     self.args = []
     self.args = parser.parse_args(self.args)
예제 #11
0
def parse_args(args):
    parser = ArgumentParser(description=debugVertexVMI.__doc__,
                            add_help=True,
                            formatter_class=RawTextHelpFormatter)
    return parser.parse_args(args)
예제 #12
0
def parse_args(args):
    parser = ArgumentParser(description=debugVertexSG.__doc__,
                            add_help=True,
                            formatter_class=RawTextHelpFormatter)
    parser.add_argument('--display_name', help='Display name')
    return parser.parse_args(args)
예제 #13
0
def parse_args(args):
    parser = ArgumentParser(description=debugVertexVMI.__doc__, add_help=True, formatter_class=RawTextHelpFormatter)
    return parser.parse_args(args)
예제 #14
0
def parse_args(args):
    parser = ArgumentParser(description=debugVertexFIP.__doc__, add_help=True, formatter_class=RawTextHelpFormatter)
    parser.add_argument('--floating_ip_address', help='Floating ip address to debug')
    return parser.parse_args(args)