How should NetBox model a VPWS service with multiple EVPL attachment circuits? #22107
Replies: 1 comment
-
|
The L2VPN model in NetBox is a bit flat for this kind of setup. A VPWS with multiple EVPLs underneath doesn't map cleanly to a single L2VPN object because each EVPL is essentially its own point-to-point circuit but they're all part of one customer service. What I've seen people do is: Create one L2VPN object for the parent VPWS service (type: VPWS), then create individual L2VPN Terminations for each EVPL, associating them with the specific subinterfaces on each aggregation router. The terminations give you the per-EVPL granularity while the parent L2VPN ties them all together under one service. If you need to track the EVPL identifiers separately, you could use custom fields on the terminations to store the EVPL ID / service instance. It's not perfect but it gets you a queryable model. The alternative is modeling each EVPL as its own L2VPN (type: EVPL) and using tags or a custom field to group them under the parent service name. Less elegant but more explicit. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I am trying to model a service in NetBox and I haven't found a clean fit in the current L2VPN data model.
I have a VPWS service present on two aggregation routers. Under that parent service, there are multiple EVPL instances, each bound to a different L2 subinterface on a trunk. Operationally, this is one customer service, but it has several attachment circuits, each with its own EVPL instance, service-ID pair, and VLAN handoff. In some cases there is also VLAN translation.
A simplified example looks like this:
So for each circuit I need to represent at least:
SVC-EXAMPLE-10013101and the far side presents VLAN101The modeling options I have considered are:
None of these feels completely clean.
My main question is: what is the recommended NetBox way to model this kind of service?
More specifically:
I feel like the ideal approach would involve some mechanism to terminate a VPWS L2VPN to multiple EVPL L2VPN objects or something.
I am not trying to force vendor-specific semantics directly into NetBox. I am mainly interested in the most idiomatic NetBox representation for a service that is logically one VPWS but operationally consists of several EVPL attachment circuits with distinct VLAN mappings.
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions