Beispiel #1
0
    def Args(cls, parser):
        cls.INTERCONNECT_ARG = (
            interconnect_flags.InterconnectArgumentForOtherResource(
                'The interconnect for the interconnect attachment'))
        cls.INTERCONNECT_ARG.AddArgument(parser)

        cls.ROUTER_ARG = router_flags.RouterArgumentForOtherResources()
        cls.ROUTER_ARG.AddArgument(parser)

        cls.INTERCONNECT_ATTACHMENT_ARG = (
            attachment_flags.InterconnectAttachmentArgument())
        cls.INTERCONNECT_ATTACHMENT_ARG.AddArgument(parser,
                                                    operation_type='create')
        attachment_flags.AddDescription(parser)
        attachment_flags.AddAdminEnabled(parser, default_behavior=True)
        attachment_flags.AddVlan(parser)
        attachment_flags.AddCandidateSubnets(parser)
        attachment_flags.AddBandwidth(parser, required=False)
        attachment_flags.AddMtu(parser)
        attachment_flags.AddEncryption(parser)
        attachment_flags.GetIpsecInternalAddressesFlag().AddToParser(parser)
        attachment_flags.AddStackType(parser)
        attachment_flags.AddCandidateIpv6Subnets(parser)
        attachment_flags.AddCloudRouterIpv6InterfaceId(parser)
        attachment_flags.AddCustomerRouterIpv6InterfaceId(parser)
Beispiel #2
0
  def Args(cls, parser):

    cls.INTERCONNECT_ATTACHMENT_ARG = (
        attachment_flags.InterconnectAttachmentArgument())
    cls.INTERCONNECT_ATTACHMENT_ARG.AddArgument(parser, operation_type='patch')
    attachment_flags.AddBandwidth(parser, required=False)
    attachment_flags.AddPartnerMetadata(parser, required=False)
    attachment_flags.AddDescription(parser)
Beispiel #3
0
  def Args(cls, parser):

    cls.INTERCONNECT_ATTACHMENT_ARG = (
        attachment_flags.InterconnectAttachmentArgument())
    cls.INTERCONNECT_ATTACHMENT_ARG.AddArgument(parser, operation_type='patch')
    attachment_flags.AddBandwidth(
        parser, required=False, track=cls._release_track)
    attachment_flags.AddPartnerMetadata(parser, required=False)
    attachment_flags.AddDescription(parser)
    labels_util.AddUpdateLabelsFlags(parser)
Beispiel #4
0
    def Args(cls, parser):

        cls.INTERCONNECT_ATTACHMENT_ARG = (
            attachment_flags.InterconnectAttachmentArgument())
        cls.INTERCONNECT_ATTACHMENT_ARG.AddArgument(parser,
                                                    operation_type='patch')
        attachment_flags.AddDescription(parser)
        attachment_flags.AddAdminEnabled(parser, update=True)
        attachment_flags.AddBandwidth(parser, required=False)
        attachment_flags.AddMtu(parser)
    def Args(cls, parser):

        cls.INTERCONNECT_ATTACHMENT_ARG = (
            attachment_flags.InterconnectAttachmentArgument())
        cls.INTERCONNECT_ATTACHMENT_ARG.AddArgument(parser,
                                                    operation_type='patch')
        attachment_flags.AddDescription(parser)
        attachment_flags.AddAdminEnabled(parser, update=True)
        attachment_flags.AddBandwidth(parser, required=False)
        attachment_flags.AddMtu(parser)
        attachment_flags.AddStackType(parser)
        attachment_flags.AddCandidateIpv6Subnets(parser)
        attachment_flags.AddCloudRouterIpv6InterfaceId(parser)
        attachment_flags.AddCustomerRouterIpv6InterfaceId(parser)
Beispiel #6
0
  def Args(cls, parser):

    cls.INTERCONNECT_ARG = (
        interconnect_flags.InterconnectArgumentForOtherResource(
            'The interconnect for the interconnect attachment'))
    cls.INTERCONNECT_ARG.AddArgument(parser)

    cls.INTERCONNECT_ATTACHMENT_ARG = (
        attachment_flags.InterconnectAttachmentArgument())
    cls.INTERCONNECT_ATTACHMENT_ARG.AddArgument(parser, operation_type='create')

    attachment_flags.AddBandwidth(parser, required=True)
    attachment_flags.AddVlan(parser)
    attachment_flags.AddPartnerAsn(parser)
    attachment_flags.AddPartnerMetadata(parser, required=True)
    attachment_flags.AddPairingKey(parser)
    attachment_flags.AddDescription(parser)
    attachment_flags.AddCandidateSubnets(parser)
Beispiel #7
0
  def Args(cls, parser):
    cls.INTERCONNECT_ARG = (
        interconnect_flags.InterconnectArgumentForOtherResource(
            'The interconnect for the interconnect attachment'))
    cls.INTERCONNECT_ARG.AddArgument(parser)

    cls.ROUTER_ARG = router_flags.RouterArgumentForOtherResources()
    cls.ROUTER_ARG.AddArgument(parser)

    cls.INTERCONNECT_ATTACHMENT_ARG = (
        attachment_flags.InterconnectAttachmentArgument())
    cls.INTERCONNECT_ATTACHMENT_ARG.AddArgument(parser, operation_type='create')
    attachment_flags.AddDescription(parser)
    attachment_flags.AddAdminEnabled(parser, default_behavior=True)
    attachment_flags.AddVlan(parser)
    attachment_flags.AddCandidateSubnets(parser)
    attachment_flags.AddBandwidth(
        parser, required=False, track=cls._release_track)
Beispiel #8
0
 def Args(cls, parser):
     super(CreateWithBandwidth, cls).Args(parser)
     attachment_flags.AddBandwidth(parser, required=False)
Beispiel #9
0
 def Args(cls, parser):
   super(UpdateWithBandwidth, cls).Args(parser)
   labels_util.AddUpdateLabelsFlags(parser)
   attachment_flags.AddBandwidth(parser, required=False)
Beispiel #10
0
 def Args(cls, parser):
     super(AlphaUpdate, cls).Args(parser)
     attachment_flags.AddBandwidth(parser, required=False)