Exemplo n.º 1
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)
Exemplo n.º 2
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)
Exemplo n.º 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)
    attachment_flags.AddPartnerMetadata(parser, required=False)
    attachment_flags.AddDescription(parser)
Exemplo n.º 4
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)
Exemplo n.º 5
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,
                                      track=cls._release_track)
Exemplo n.º 6
0
  def Args(cls, 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.AddAdminEnabled(parser, default_behavior=False)
    attachment_flags.AddEdgeAvailabilityDomain(parser)
    attachment_flags.AddDescription(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)
Exemplo n.º 8
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)
Exemplo n.º 9
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)