Hi All,
Contrary to my knowledge I just found out that the endpoint cost service
is not limited to endpoint addresses but also permits prefixes as stated
in section 11.5 of the RFC7285.
However, I took a more detailed look at this section and recognized that
prefixes are no accepted input parameter.
Here are some more details:
11.5. Endpoint Cost Service
[...]
In particular, this service allows lists of endpoint prefixes (and
addresses, as a special case) to be ranked (ordered) by an ALTO
server.
The accept input parameter for endpoints in ECS are of type
TypedEndpointAddr
11.5.1.3. Accept Input Parameters
[...]
object {
[TypedEndpointAddr srcs<0..*>;]
[TypedEndpointAddr dsts<0..*>;]
} EndpointFilter;
which is defined here:
10.4.1. Typed Endpoint Addresses
When an endpoint address is used, an ALTO implementation must be able
to determine its type. For this purpose, the ALTO Protocol allows
endpoint addresses to also explicitly indicate their types. This
document refers to such addresses as "Typed Endpoint Addresses".
Typed endpoint addresses are encoded as strings of the format
AddressType:EndpointAddr, with the ’:’ character as a separator. The
type TypedEndpointAddr is used to indicate a string of this format.
and EndpointAddr is defined here:
10.4.3. Endpoint Address
The EndpointAddr component of TypedEndPointAddr is also encoded as a
string. The exact characters and format depend on AddressType. This
document defines EndpointAddr when AddressType is "ipv4" or "ipv6".
10.4.3.1. IPv4
IPv4 Endpoint Addresses are encoded as specified by the IPv4address
rule in Section 3.2.2 of [RFC3986].
10.4.3.2. IPv6
IPv6 endpoint addresses are encoded as specified in Section 4 of
[RFC5952]
From my point of view it is not clear whether prefixes are allowed as
ECS endpoints or not.
Can someone clarify? Maybe I overlooked something.
Thanks
Hans
_______________________________________________
alto mailing list
[email protected]
https://www.ietf.org/mailman/listinfo/alto