I guess in the L3VPN use case, both the IPv4 and IPv6 VPNs are for the same
customer (since the interface only goes to one place).
I’ve been thinking about this for much of the morning and I see, at least, the
following options:
1. Move the reference(s) to routing-instance to
“/if:interfaces/if:interface/ip:ipv4” and
“/if:interfaces/if:interface/ip:ipv6”.
2. Keep the reference at the “/if:interface/if:interface/“ level but
make it a container with a more complex structure including the overall
reference and feature enabled override references for specific purposes (L2,
IPv6, IPv4, etc).
3. Others?
I like #2 since it is optimized towards the most common use case.
With respect to encapsulation, I don’t understand how they could be different
for different AFs unless they are, in fact, different RFC 7223 interfaces. Am I
missing something?
Thanks,
Acee
From: Rob Shakir <[email protected]<mailto:[email protected]>>
Date: Wednesday, October 21, 2015 at 9:58 AM
To: Ladislav Lhotka <[email protected]<mailto:[email protected]>>
Cc: Acee Lindem <[email protected]<mailto:[email protected]>>, Routing WG
<[email protected]<mailto:[email protected]>>, "[email protected]<mailto:[email protected]>"
<[email protected]<mailto:[email protected]>>, NETMOD WG
<[email protected]<mailto:[email protected]>>, Routing YANG
<[email protected]<mailto:[email protected]>>
Subject: Re: [netmod] rib-data-model and routing-cfg
On 21 October 2015 at 07:52:43, Ladislav Lhotka
([email protected]<mailto:[email protected]>) wrote:
One option would be to create two virtual interfaces - one for IPv4 VPN and
another for IPv6 VPN, and define routing-instance and addresses separately for
each.
This is only workable if an implementation must support two virtual interfaces
that have the same underlying encapsulation (i.e.., they are simply logically
separating IPv4 and IPv6), in some implementations, this isn’t the case, and
the virtual interfaces must have different encapsulations.
In openconfig-interfaces, each sub-interface is associated with a single VLAN,
so in this case, we would need the network-instance to be specified on a per
address-family basis there. There is nothing to stop one having a single leaf
at the sub-interface or interface level that is inherited by the other
constructs - this is something that I have been considering based on work on
the network-instance model that we recently published.
r.
_______________________________________________
i2rs mailing list
[email protected]
https://www.ietf.org/mailman/listinfo/i2rs