ietf-te-service-mapping
HTML
ietf-te-service-mapping@2017-10-27
module ietf-te-service-mapping { yang-version 1; namespace "urn:ietf:params:xml:ns:yang:ietf-te-service-mapping"; prefix tm; import ietf-l3vpn-svc { prefix l3; } import ietf-l2vpn-svc { prefix l2; } import ietf-l1csm { prefix l1; } import ietf-te { prefix te; } import ietf-actn-vn { prefix vn; } organization "IETF Traffic Engineering Architecture and Signaling (TEAS) Working Group"; contact "Editor: Young Lee <leeyoung@huawei.com> Dhruv Dhody <dhruv.ietf@gmail.com>"; description "This module contains a YANG module for the mapping of service (e.g. L3VPN) to the TE tunnels or ACTN VN."; revision "2017-10-27" { description "initial version."; reference "TBD"; } identity service-type { base description "Base identity from which specific service types are derived."; } identity l3vpn-service { base service-type; description "L3VPN service type."; } identity l2vpn-service { base service-type; description "L2VPN service type."; } identity l1vpn-service { base service-type; description "L1VPN connectivity service type."; } typedef map-type { type enumeration { enum "new" { value 0; description "The new VN/tunnels are binded to the service"; } enum "select" { value 1; description "The VPN service selects an existing tunnel with no modification"; } enum "modify" { value 2; description "The VPN service selects an existing tunnel and allows to modify the properties of the tunnel (e.g., b/w) "; } } description "The map-type"; } grouping service-ref { description "The reference to the service."; choice service { description "The service"; leaf l3vpn-ref { type leafref { path "/l3:l3vpn-svc/l3:vpn-services/" + "l3:vpn-service/l3:vpn-id"; } description "The reference to L3VPN Service Yang Model"; } leaf l2vpn-ref { type leafref { path "/l2:l2vpn-svc/l2:vpn-services/" + "l2:vpn-svc/l2:vpn-id"; } description "The reference to L2VPN Service Yang Model"; } leaf l1vpn-ref { type leafref { path "/l1:l1cs/l1:service/" + "l1:service-list/l1:subscriber-l1vc-id"; } description "The reference to L1VPN Service Yang Model"; } } // choice service } // grouping service-ref grouping site-ref { description "The reference to the site."; choice service { description "The service choice"; leaf l3vpn-ref { type leafref { path "/l3:l3vpn-svc/l3:sites/l3:site/" + "l3:site-id"; } description "The reference to L3VPN Service Yang Model"; } leaf l2vpn-ref { type leafref { path "/l2:l2vpn-svc/l2:sites/l2:site/" + "l2:site-id"; } description "The reference to L2VPN Service Yang Model"; } leaf l1vpn-ref { type leafref { path "/l1:l1cs/l1:access/l1:uni-list/" + "l1:UNI-ID"; } description "The reference to L1VPN Connectivity Service Yang Model"; } } // choice service } // grouping site-ref grouping te-ref { description "The reference to TE."; choice te { description "The TE"; leaf actn-vn-ref { type leafref { path "/vn:actn/vn:vn/vn:vn-list/vn:vn-id"; } description "The reference to ACTN VN"; } leaf-list te-tunnel-list { type te:tunnel-ref; description "Reference to TE Tunnels"; } } // choice te } // grouping te-ref grouping te-endpoint-ref { description "The reference to TE endpoints."; choice te { description "The TE"; leaf actn-vn-ref { type leafref { path "/vn:actn/vn:ap/vn:access-point-list" + "/vn:access-point-id"; } description "The reference to ACTN VN"; } case te { } // case te } // choice te } // grouping te-endpoint-ref grouping service-mapping { description "Mapping between Services and TE"; container service-mapping { description "Mapping between Services and TE"; list mapping-list { key "map-id"; description "Mapping identified via a map-id"; leaf map-id { type uint32; description "a unique mapping identifier"; } leaf map-type { type map-type; description "Tunnel Bind or Tunnel Selection"; } uses service-ref; uses te-ref; } // list mapping-list } // container service-mapping } // grouping service-mapping grouping site-mapping { description "Mapping between VPN access site and TE endpoints or AP"; container site-mapping { description "Mapping between VPN access site and TE endpoints or AP"; list mapping-list { key "map-id"; description "Mapping identified via a map-id"; leaf map-id { type uint32; description "a unique mapping identifier"; } uses site-ref; uses te-endpoint-ref; } // list mapping-list } // container site-mapping } // grouping site-mapping container te-service-mapping { description "Mapping between Services and TE"; uses service-mapping; uses site-mapping; } // container te-service-mapping } // module ietf-te-service-mapping
Summary
Organization | IETF Traffic Engineering Architecture and Signaling (TEAS) Working Group |
Module | ietf-te-service-mapping |
Version | 2017-10-27 |
File | ietf-te-service-mapping@2017-10-27.yang |
Prefix | tm |
Namespace | urn:ietf:params:xml:ns:yang:ietf-te-service-mapping |
Cooked | /cookedmodules/ietf-te-service-mapping/2017-10-27 |
YANG | /src/ietf-te-service-mapping@2017-10-27.yang |
XSD | /xsd/ietf-te-service-mapping@2017-10-27.xsd |
Abstract | This module contains a YANG module for the mapping of service (e.g. L3VPN) to the TE tunnels or ACTN VN. |
Contact | Editor: Young Lee <leeyoung@huawei.com> Dhruv Dhody <dhruv.ietf@gmail.com> |
Description
This module contains a YANG module for the mapping of service (e.g. L3VPN) to the TE tunnels or ACTN VN. |
Typedefs
Typedef | Base type | Abstract |
map-type | enumeration | The map-type |
Groupings
Grouping | Objects | Abstract |
service-mapping | service-mapping | Mapping between Services and TE |
service-ref | service | The reference to the service. |
site-mapping | site-mapping | Mapping between VPN access site and TE endpoints or AP |
site-ref | service | The reference to the site. |
te-endpoint-ref | te | The reference to TE endpoints. |
te-ref | te | The reference to TE. |
Objects
Type Key |
Mandatory config |
Optional config |
Not config |
Object | Type | Abstract |
te-service-mapping | container | Mapping between Services and TE |
service-mapping | container | Mapping between Services and TE |
mapping-list | list | Mapping identified via a map-id |
map-id | leaf | a unique mapping identifier |
map-type | leaf | Tunnel Bind or Tunnel Selection |
service | choice | The service |
l1vpn | case | l1vpn-ref |
l1vpn-ref | leaf | The reference to L1VPN Service Yang Model |
l2vpn | case | l2vpn-ref |
l2vpn-ref | leaf | The reference to L2VPN Service Yang Model |
l3vpn | case | l3vpn-ref |
l3vpn-ref | leaf | The reference to L3VPN Service Yang Model |
te | choice | The TE |
actn-vn | case | actn-vn-ref |
actn-vn-ref | leaf | The reference to ACTN VN |
te | case | te-tunnel-list |
te-tunnel-list | leaf-list | Reference to TE Tunnels |
site-mapping | container | Mapping between VPN access site and TE endpoints or AP |
mapping-list | list | Mapping identified via a map-id |
map-id | leaf | a unique mapping identifier |
service | choice | The service choice |
l1vpn | case | l1vpn-ref |
l1vpn-ref | leaf | The reference to L1VPN Connectivity Service Yang Model |
l2vpn | case | l2vpn-ref |
l2vpn-ref | leaf | The reference to L2VPN Service Yang Model |
l3vpn | case | l3vpn-ref |
l3vpn-ref | leaf | The reference to L3VPN Service Yang Model |
te | choice | The TE |
actn-vn | case | actn-vn-ref |
actn-vn-ref | leaf | The reference to ACTN VN |
te | case | OID: /te-service-mapping/site-mapping/mapping-list/te/te |