Enum DrgRouteRule.RouteProvenance

  • All Implemented Interfaces:
    BmcEnum, Serializable, Comparable<DrgRouteRule.RouteProvenance>
    Enclosing class:
    DrgRouteRule

    public static enum DrgRouteRule.RouteProvenance
    extends Enum<DrgRouteRule.RouteProvenance>
    implements BmcEnum
    The earliest origin of a route.

    If a route is advertised to a DRG through an IPsec tunnel attachment, and is propagated to peered DRGs via RPC attachments, the route’s provenance in the peered DRGs remains IPSEC_TUNNEL, because that is the earliest origin.

    No routes with a provenance IPSEC_TUNNEL or VIRTUAL_CIRCUIT will be exported to IPsec tunnel or virtual circuit attachments, regardless of the attachment's export distribution.

    • Method Detail

      • values

        public static DrgRouteRule.RouteProvenance[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (DrgRouteRule.RouteProvenance c : DrgRouteRule.RouteProvenance.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static DrgRouteRule.RouteProvenance valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null