def Args(cls, parser): parser.display_info.AddFormat(flags.DEFAULT_LIST_FORMAT) cls.NETWORK_ARG = flags.NetworkArgument() cls.NETWORK_ARG.AddArgument(parser, operation_type='create') network_utils.AddCreateBaseArgs(parser) network_utils.AddCreateSubnetModeArg(parser) network_utils.AddCreateBgpRoutingModeArg(parser)
def Args(cls, parser): parser.display_info.AddFormat(flags.DEFAULT_LIST_FORMAT) cls.NETWORK_ARG = flags.NetworkArgument() cls.NETWORK_ARG.AddArgument(parser, operation_type='create') network_utils.AddCreateBaseArgs(parser) # TODO(b/64980447): Deprecate this arg and use --subnet-mode instead. network_utils.AddCreateModeArg(parser)
def Args(cls, parser): parser.display_info.AddFormat(flags.DEFAULT_LIST_FORMAT) cls.NETWORK_ARG = flags.NetworkArgument() cls.NETWORK_ARG.AddArgument(parser, operation_type='create') network_utils.AddCreateBaseArgs(parser) network_utils.AddCreateSubnetModeArg(parser) network_utils.AddCreateBgpRoutingModeArg(parser) network_utils.AddMtuArg(parser) network_utils.AddInternalIpv6RangeArg(parser) network_utils.AddEnableUlaInternalIpv6Arg(parser) parser.display_info.AddCacheUpdater(flags.NetworksCompleter)