The work in L2NM has been moved to https://github.com/IETF-OPSAWG-WG/lxnm
ietf-opsawg-wg / l2nm Goto Github PK
View Code? Open in Web Editor NEWA L2VPN Network Yang Model
A L2VPN Network Yang Model
The work in L2NM has been moved to https://github.com/IETF-OPSAWG-WG/lxnm
The following MUST statements are missing.
r.
deviation "/l2vpn-ntw:l2vpn-ntw/l2vpn-ntw:vpn-services/l2vpn-ntw:vpn-service/l2vpn-ntw:vpn-nodes/l2vpn-ntw:vpn-node/l2vpn-ntw:vpn-network-accesses/l2vpn-ntw:vpn-network-access/l2vpn-ntw:connection/l2vpn-ntw:dot1q-interface/l2vpn-ntw:dot1q/l2vpn-ntw:c-vlan-id" {
deviate add {
must "../../../l2vpn-ntw:encapsulation-type='vpn-common:dot1q'"{
error-message "c-vlan-id can only be set when encapsulation-type is 'vpn-common:dot1q'";
}
deviation "/l2vpn-ntw:l2vpn-ntw/l2vpn-ntw:vpn-services/l2vpn-ntw:vpn-service/l2vpn-ntw:vpn-nodes/l2vpn-ntw:vpn-node/l2vpn-ntw:vpn-network-accesses/l2vpn-ntw:vpn-network-access/l2vpn-ntw:connection/l2vpn-ntw:dot1q-interface/l2vpn-ntw:dot1q" {
deviate add {
must "../../l2vpn-ntw:encapsulation-type='vpn-common:dot1q' and l2vpn-ntw:c-vlan-id"{
error-message "c-vlan-id is required when encapsulation-type is 'vpn-common:dot1q'";
}
clean up the module and point to the common module.
EVI ID, EVI Source, EVI Target Needed for configuration. All Integer values. Could be received northbound or via a pool.
Value defined in RFC7432 missing
Flexibility to allow aliasing to MultiHoming CE
bgp-evpn
local-ac-name "MH“ eth-tag 710
remote-ac-name "HL4-5“ eth-tag 710
evi 710
mpls
auto-bind-tunnel
…
exit
ecmp 2
no shutdown
exit
exit
Hello
Checking the current draft, I spotted this difference between the two, to be corrected before uploading a next release for consistency.
Possibility to add filter + ALMP at interface level
sap lag-3:720 create
auto-learn-mac-protect
ingress filter mac 720
configure filter mac-filter 720 create
default-action forward
entry 10 create
description "VRRP"
match src-mac 00:00:5e:00:01:00 ff:ff:ff:ff:ff:00
action drop
exit
Format correctly the Yang
Corrections needed in IANA section:
Missing the option to re-write dot1q information received in access.
In our proposal, There will be an ordered list by priorities of tunnel selection type (i.e.LDP,RSVP-TE, SR, SR-TE,etc..) per node and per services.
The reasonn why this list of preferences must consider also services and not only ingress node is because for services initiated in the same PE router, one service can be Best Effort and LDP is enough but other service can be low latency and TE is required.
If the Node does not support the first option in the list of preferences then try the second one and so on...
Consider E-VPN Support (note this is a network model, not the device model to configure E-VPN)
Per RFC4448, control-word is missing.
Since L2SM has already defined bearer under site-network-accesses, why not reuse it? Instead introduce site-bearer?
Under list signaling-options
container l2vpn-bgp
Existing: when "/l2vpn-ntw/vpn-services/vpn-service/vpn-nodes/vpn-node/signaling-options/type = 'vpn-common:l2vpn-bgp'"
Correct clause: when "../type = 'vpn-common:l2vpn-bgp'"
container evpn-bgp
Existing: when "/l2vpn-ntw/vpn-services/vpn-service/vpn-nodes/vpn-node/signaling-options/type = 'vpn-common:evpn-bgp'"
Correct clause: when "../type = 'vpn-common:evpn-bgp'"
container t-ldp-pwe
Existing: when "/l2vpn-ntw/vpn-services/vpn-service/vpn-nodes/vpn-node/signaling-options/type = 'vpn-common:t-ldp'"
Correct clause: when "../type = 'vpn-common:t-ldp'"
container l2tp-pwe
Existing: when "/l2vpn-ntw/vpn-services/vpn-service/vpn-nodes/vpn-node/signaling-options/type = 'vpn-common:l2tp'"
Correct clause: when "../type = 'vpn-common:l2tp'"
When using t-ldp as type, we are missing the mpls-label in the ac-pw-list.
Use same syntax for underlay transport selection as in L3NM
+--rw underlay-transport
| +--rw type? protocols-type
Is BGP Tunnel BGP over GRE? Is there any other BGP Tunnel type? In addition, TE service mapping provide service mapping to TE tunnel, but how Service Mapping with BGP tunnel or MPLS with LDP? Where is this specified?
I feel the role of access-priority and precedence-type is almost same. what is the their key difference? one is service level, the other is access level? Can you provide a usage example of precedence-type?
L2SNM supports BGP-VPLS but not RT:RD are defined to support the configuration:
configure service vpls 1 customer 1 create
bgp
route-distinguisher 65536:1
route-target export target:65536:1 import target:65536:1
pw-template-bind 1
exit
Option to configure table size, high/low watermark aspects.
In the last OPSAWG meeting there ware the following comments can hierarchical
VPN be supported in this SM? Oscar: Yes, but more review is needed to see if it
is fully supportable Zhenbin Li: Inter-AS scenario?
The proposal is to add examples in the draft to explain the usage in both scenarios.
In point-to-point services, there should be a max of 2 nodes defined in the node list.
Define Frequency, Retry and Timeout
Enabled/Disabled
Add in the underlay-transport container the actual underlay used in the network
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.