Class IntersiteGatewayConfig.Builder

    • Constructor Detail

      • Builder

        public Builder()
        Constructor with parameters for the required properties of IntersiteGatewayConfig.
    • Method Detail

      • setFallbackSites

        public IntersiteGatewayConfig.Builder setFallbackSites​(java.util.List<java.lang.String> fallbackSites)
        Fallback site to be used as new primary site on current primary site failure. Disaster recovery must be initiated via API/UI. Fallback site configuration is supported only for T0 gateway. T1 gateway will follow T0 gateway's primary site during disaster recovery.
        Parameters:
        fallbackSites - New value for the property.
      • setIntersiteTransitSubnet

        public IntersiteGatewayConfig.Builder setIntersiteTransitSubnet​(java.lang.String intersiteTransitSubnet)
        IPv4 subnet for inter-site transit segment connecting service routers across sites for stretched gateway. For IPv6 link local subnet is auto configured. format: ip-cidr-block
        Parameters:
        intersiteTransitSubnet - New value for the property.
      • setLastAdminActiveEpoch

        public IntersiteGatewayConfig.Builder setLastAdminActiveEpoch​(java.lang.Long lastAdminActiveEpoch)
        Epoch(in seconds) is auto updated based on system current timestamp when primary locale service is updated. It is used for resolving conflict during site failover. If system clock not in sync then User can optionally override this. New value must be higher than the current value. format: int64
        Parameters:
        lastAdminActiveEpoch - New value for the property.
      • setPrimarySitePath

        public IntersiteGatewayConfig.Builder setPrimarySitePath​(java.lang.String primarySitePath)
        Primary egress site for gateway. T0/T1 gateway in Active/Standby mode supports stateful services on primary site. In this mode primary site must be set if gateway is stretched to more than one site. For T0 gateway in Active/Active primary site is optional field. If set then secondary site prefers routes learned from primary over locally learned routes. This field is not applicable for T1 gateway with no services.
        Parameters:
        primarySitePath - New value for the property.