-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathdraft-ietf-opsawg-sap.xml
1740 lines (1500 loc) · 65.5 KB
/
draft-ietf-opsawg-sap.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<?xml version="1.0" encoding="US-ASCII"?>
<!-- This template is for creating an Internet Draft using xml2rfc,
which is available here: http://xml.resource.org. -->
<!DOCTYPE rfc SYSTEM "rfc2629.dtd" [
<!-- One method to get references from the online citation libraries.
There has to be one entity for each item to be referenced.
An alternate method (rfc include) is described in the references. -->
<!ENTITY RFC2119 SYSTEM "http://xml.resource.org/public/rfc/bibxml/reference.RFC.2119.xml">
<!ENTITY RFC6241 SYSTEM "http://xml.resource.org/public/rfc/bibxml/reference.RFC.6241.xml">
<!ENTITY RFC7950 SYSTEM "http://xml.resource.org/public/rfc/bibxml/reference.RFC.7950.xml">
<!ENTITY RFC7149 SYSTEM "http://xml.resource.org/public/rfc/bibxml/reference.RFC.7149.xml">
<!ENTITY RFC7426 SYSTEM "http://xml.resource.org/public/rfc/bibxml/reference.RFC.7426.xml">
<!ENTITY RFC8299 SYSTEM "http://xml.resource.org/public/rfc/bibxml/reference.RFC.8299.xml">
<!ENTITY RFC8309 SYSTEM "http://xml.resource.org/public/rfc/bibxml/reference.RFC.8309.xml">
<!ENTITY RFC8340 SYSTEM "http://xml.resource.org/public/rfc/bibxml/reference.RFC.8340.xml">
<!ENTITY RFC8453 SYSTEM "http://xml.resource.org/public/rfc/bibxml/reference.RFC.8453.xml">
<!ENTITY RFC8174 SYSTEM "http://xml.resource.org/public/rfc/bibxml/reference.RFC.8174.xml">
<!ENTITY RFC8345 SYSTEM "http://xml.resource.org/public/rfc/bibxml/reference.RFC.8345.xml">
]>
<?xml-stylesheet type='text/xsl' href='rfc2629.xslt' ?>
<!-- used by XSLT processors -->
<!-- For a complete list and description of processing instructions (PIs),
please see http://xml.resource.org/authoring/README.html. -->
<!-- Below are generally applicable Processing Instructions (PIs) that most I-Ds might want to use.
(Here they are set differently than their defaults in xml2rfc v1.32) -->
<?rfc strict="yes" ?>
<!-- give errors regarding ID-nits and DTD validation -->
<!-- control the table of contents (ToC) -->
<?rfc toc="yes"?>
<!-- generate a ToC -->
<?rfc tocdepth="4"?>
<!-- the number of levels of subsections in ToC. default: 3 -->
<!-- control references -->
<?rfc symrefs="yes"?>
<!-- use symbolic references tags, i.e, [RFC2119] instead of [1] -->
<?rfc sortrefs="yes" ?>
<!-- sort the reference entries alphabetically -->
<!-- control vertical white space
(using these PIs as follows is recommended by the RFC Editor) -->
<?rfc compact="yes" ?>
<!-- do not start each main section on a new page -->
<?rfc subcompact="no" ?>
<!-- keep one blank line between list items -->
<!-- end of list of popular I-D processing instructions -->
<rfc category="std" docName="draft-ietf-opsawg-sap-09" ipr="trust200902">
<front>
<title abbrev="A YANG Model for SAPs">A YANG Network Model for Service
Attachment Points (SAPs)</title>
<author fullname="Mohamed Boucadair" initials="M." role="editor"
surname="Boucadair">
<organization>Orange</organization>
<address>
<postal>
<street></street>
<city></city>
<region></region>
<code></code>
<country>France</country>
</postal>
<phone></phone>
<email>[email protected]</email>
</address>
</author>
<author fullname="Oscar Gonzalez de Dios" initials="O"
surname="Gonzalez de Dios">
<organization>Telefonica</organization>
<address>
<postal>
<street></street>
<city>Madrid</city>
<region></region>
<code></code>
<country>Spain</country>
</postal>
<phone></phone>
<email>[email protected]</email>
</address>
</author>
<author fullname="Samier Barguil" initials="S." surname="Barguil">
<organization>Telefonica</organization>
<address>
<postal>
<street></street>
<city>Madrid</city>
<region></region>
<code></code>
<country>Spain</country>
</postal>
<phone></phone>
<facsimile></facsimile>
<email>[email protected]</email>
<uri></uri>
</address>
</author>
<author fullname="Qin Wu" initials="Q." surname="Wu">
<organization>Huawei</organization>
<address>
<postal>
<street>101 Software Avenue, Yuhua District</street>
<city>Nanjing</city>
<region>Jiangsu</region>
<code>210012</code>
<country>China</country>
</postal>
<email>[email protected]</email>
</address>
</author>
<author fullname="Victor Lopez" initials="V." surname="Lopez">
<organization>Nokia</organization>
<address>
<postal>
<street></street>
<city></city>
<region></region>
<code></code>
<country>Spain</country>
</postal>
<phone></phone>
<facsimile></facsimile>
<email>[email protected]</email>
<uri></uri>
</address>
</author>
<date year="2022" />
<area>ops</area>
<workgroup>OPSAWG</workgroup>
<keyword>Service Infrastructure</keyword>
<keyword>User Network Interface</keyword>
<keyword>UNI</keyword>
<keyword>NNI</keyword>
<keyword>Network-to-Network Interface</keyword>
<keyword>Inter-AS VPN</keyword>
<keyword>CE</keyword>
<keyword>PE</keyword>
<keyword>Attachment Circuit</keyword>
<keyword>Service Delivery Point</keyword>
<keyword>Automation</keyword>
<keyword>Service Delivery</keyword>
<abstract>
<t>This document defines a YANG data model for representing an abstract
view of the provider network topology that contains the points from
which its services can be attached (e.g., basic connectivity, VPN,
network slices). Also, the model can be used to retrieve the points
where the services are actually being delivered to customers (including
peer networks).</t>
<t>This document augments the 'ietf-network' data model by adding the
concept of Service Attachment Points (SAPs). The SAPs are the network
reference points to which network services, such as Layer 3 Virtual
Private Network (L3VPN) or Layer 2 Virtual Private Network (L2VPN), can
be attached. Both User-Network Interface (UNI) and Network-to-Network
Interface (NNI) are supported in the SAP data model.</t>
</abstract>
</front>
<middle>
<section anchor="Introduction" title="Introduction">
<t>Service providers offer a variety of network services to their
customers. Such services include, but are not limited to, Virtual
Private Networks (VPNs), Software-Defined Wide Area Network (SDWAN)
<xref target="I-D.ietf-bess-bgp-sdwan-usage"></xref>, and network slices
<xref target="I-D.ietf-teas-ietf-network-slices"></xref>. In order to
rationalize the overall service operations and allow for more automated
service provisioning procedures, service providers need to maintain a
view on where services can be delivered to customers. Such a view can be
used, e.g., to feed an intelligence that is responsible for service
order handling, service feasibility checks, tracking per-service
coverage, etc. To that aim, this document introduces the concept of
Service Attachment Points (SAPs).</t>
<t>The SAPs represent the network reference points where network
services can be delivered to customers. For example, this concept is
used to decide where to attach and, thus, deliver the service in the
Layer 3 VPN Service Model (L3SM) <xref target="RFC8299"></xref> and the
Layer 2 VPN Service Model (L2SM) <xref target="RFC8466"></xref>. It can
also be used to retrieve where such services are delivered to customers
through the network configuration described in the Layer 3 VPN Network
Model (L3NM) <xref target="RFC9182"></xref> and the Layer 2 VPN Network
Model (L2NM) <xref target="I-D.ietf-opsawg-l2nm"></xref>.</t>
<t>This document defines a YANG network model (<xref
target="mod"></xref>) for representing, managing, and controlling the
SAPs. The data model augments the 'ietf-network' module <xref
target="RFC8345"></xref> by adding the concept of SAPs. <xref
target="usage"></xref> provides a sample usage of the model. This
document explains the scope and purpose of a SAP network model and its
relation with other models (<xref target="rel"></xref>).</t>
<t>A network may support multiple services, potentially of different
types. Whether a SAP topology is dedicated to services of a specific
service type, an individual service, or shared among many services of
different types is deployment specific. This document supports all of
these deployment schemes.</t>
<t>This document does not make any assumption about the services
provided by a network to its users. VPN services (e.g., Layer 3 Virtual
Private Network (L3VPN) or Layer 2 Virtual Private Network (L2VPN))
<xref target="RFC4026"></xref> are used for illustration purposes
(Appendices <xref format="counter" target="app1"></xref> and <xref
format="counter" target="sample"></xref>).</t>
<t>Given that User-Network Interface (UNI) and Network-to-Network
Interface (NNI) are reference points that are widely used by operators
to indicate the demarcation points when delivering services, both UNI
and NNI SAPs are supported in the document. The reader may refer, e.g.,
to <xref target="MEF6"></xref>, <xref target="MEF17"></xref>, <xref
target="RFC6004"></xref>, or <xref target="RFC6215"></xref> for a
discussion on the use of UNI and NNI reference points. An example of NNI
usage in a VPN context is provided in <xref target="nniapp"></xref>.</t>
<t>The YANG data model in <xref target="mod"></xref> conforms to the
Network Management Datastore Architecture (NMDA) <xref
target="RFC8342"></xref>.</t>
</section>
<section anchor="terminology" title="Terminology">
<t>This document assumes that the reader is familiar with the contents
of <xref target="RFC6241"></xref>, <xref target="RFC7950"></xref>, <xref
target="RFC8345"></xref>, and <xref target="RFC8309"></xref>. The
document uses terms from those documents.</t>
<t>The meanings of the symbols in tree diagrams are defined in <xref
target="RFC8340"></xref>.</t>
<t>This document uses the term "network model" defined in Section 2.1 of
<xref target="RFC8969"></xref>.</t>
<t>This document uses the following terms:<list style="hanging">
<t hangText="Service povider: ">The organization responsible for
operating the network that offers a service (e.g., a VPN) to
customers.</t>
<t hangText="Attachment Circuit (AC):">A channel that connects a
Customer Edge (CE) to a Provider Edge (PE). The AC may be a physical
or logical link (Section 6.1 of <xref target="RFC4026"></xref>).</t>
<t hangText="Customer Edge (CE): ">An equipment that is dedicated to
a particular customer and is directly connected to one or more PEs
via ACs. A CE is usually located at the customer premises. A CE may
be dedicated to a single service (e.g., L3VPN), although it may
support multiple VPNs if each one has separate attachment circuits.
A CE can be a router, a bridge, a switch, etc.</t>
<t hangText="Provider Edge (PE): ">An equipment owned and managed by
the service provider that can support multiple services (e.g., VPNs)
for different customers. A PE is directly connected to one or more
CEs via ACs.</t>
<t hangText="Service Attachment Points (SAPs):">An abstraction of
the network reference points (e.g., PE side of an AC, CE side of an
AC for a provider-managed CE) where network services can be
delivered and/or are delivered to customers.</t>
</list></t>
</section>
<section anchor="usage" title="Sample SAP Network Model Usage">
<t>Management operations of a service provider network can be automated
using a variety of means such as interfaces based on YANG modules <xref
target="RFC8969"></xref>. From that standpoint, and considering the
architecture depicted in <xref target="fi1"></xref>, a goal of this
document is to provide a mechanism to show via a YANG-based interface an
abstracted network view from the network controller to the service
orchestration layer with a focus on where a service can be delivered to
customers. The model is also used to retrieve the network reference
points where a service is being delivered to customers. For services
that require resources from peer networks, the module can also be used
to expose NNIs.</t>
<figure align="center" anchor="fi1" title="SAP Network Model Usage">
<artwork align="left"><![CDATA[ +-----------------+
| Customer |
+--------+--------+
Customer Service Models |
(e.g., L3SM, L2SM) |
+--------+--------+
| Service |
| Orchestration |
+------+---+------+
Network Models | | SAP Network Model
(e.g., L3NM, L2NM) | |
+------+---+------+
| Network |
| Controller |
+--------+--------+
|
+---------------------+---------------------+
| Network |
+-------------------------------------------+
]]></artwork>
</figure>
<t></t>
<t>The service orchestration layer does not need to know about the
internals of the underlying network (e.g., P nodes). <xref
target="fi2a"></xref> shows the abstract network view as seen by a
service orchestrator. However, this view is not enough to provide to the
service orchestration layer the information to create services in the
network. The service topology need is to be able to expose the set of
nodes and the attachment points associated with the nodes from which
network services can be grafted (delivered).</t>
<t><figure align="center" anchor="fi2a"
title="Abstract Network Topology">
<artwork align="center"><![CDATA[.---------. .---------.
| PE1 | | PE2 |
'---------' '---------'
\ /
\------/
( )
( )
( )
/------\
/ \
.---------. .---------.
| PE3 | | PE4 |
'---------' '---------']]></artwork>
</figure></t>
<t>Typically, and focusing on the UNIs, the service orchestration layer
would see a set of PEs and a set of client-facing interfaces (physical
or logical) to which CEs can be connected (or are actually connected).
Such interfaces are also referred to as UNI-N (User-to-Network
Interface, Network side) <xref target="RFC6215"></xref>. The service
orchestration layer can use these interfaces to set up the requested
services or to commit the delivery of a service. <xref
target="fi3"></xref> depicts a sample SAP network topology that is
maintained by the network controller and exposed to the service
orchestration.</t>
<figure align="center" anchor="fi3" title="SAP Network Topology">
<artwork align="center"><![CDATA[ .-+-. .-+-. .-+-. .-+-. .-+-.
.-|sap|-|sap|-|sap|-. .-|sap|-------|sap|-.
| '---' '---' '---' | | '---' '---' |
.---. | | |
|sap| PE1 | | PE2 |
'---' | | |
| | | |
'-------------------' '-------------------'
.-------------------. .-------------------.
| | | |
| | | .---.
| PE3 | | PE4 |sap|
| | | '---'
| .---. .---. .---. | | .---. .---. .---. |
'-|sap|-|sap|-|sap|-' '-|sap|-|sap|-|sap|-'
'-+-' '-+-' '-+-' '-+-' '-+-' '-+-'
]]></artwork>
</figure>
<t>A single SAP network topology can be used for one or multiple service
types (e.g., L3VPN, Ethernet VPN (EVPN)). The network controller can,
then, expose the service types and associated interfaces via the
SAPs.</t>
<t>As shown in <xref target="fi3a"></xref>, the service orchestration
layer will have also access to a set of customer service model (e.g.,
the L3SM or the L2SM) in the customer-facing interface and a set of
network models (e.g., the L3NM and network topology data models) in the
resource-facing interface. In this use case, it is assumed that the
network controller is unaware of what happens beyond the PEs towards the
CEs; it is only responsible for the management and control of the SAPs
and the network between PEs. In order to correlate between delivery
points expressed in service requests and SAPs, the SAP model may include
a peer customer point identifier. That identifier can be a CE
identifier, a site identifier, etc.</t>
<t><figure align="center" anchor="fi3a"
title="Network Topology with CEs and ACs">
<artwork align="center"><![CDATA[ .---.
|CE2|
'-+-'
|
.-+-. .-+-. .-+-. .-+-. .-+-.
.-|sap|-|sap|-|sap|-. .-|sap|-------|sap|-.
| '---' '---' '---' | | '---' '---' |
.---. .---. | | |
|CE1+--+sap| PE1 | | PE2 |
'---' '---' | | |
| | | |
'-------------------' '-------------------'
.-------------------. .-------------------.
| | | |
| | | .---. .---.
| PE3 | | PE4 |sap+--+CE5|
| | | '---' '---'
| .---. .---. .---. | | .---. .---. .---. |
'-|sap|-|sap|-|sap|-' '-|sap|-|sap|-|sap|-'
'-+-' '-+-' '-+-' '-+-' '-+-' '-+-'
| | |
.-+-. | .-+-.
|CE3+----------------' |CE4|
'-+-' '-+-'
]]></artwork>
</figure></t>
<t>Refer to <xref target="app1"></xref> for an example echoing the
topology depicted in <xref target="fi3a"></xref>.</t>
</section>
<section anchor="rel" title="Relationship to Other YANG Data Models">
<t>The SAP network model can be seen as inventory data associated with
SAPs. The model maintains an inventory of nodes contained in a network
relying upon <xref target="RFC8345"></xref>.</t>
<figure align="center" anchor="fig5"
title="Relation of SAP Network Model to Other Models">
<artwork align="center"><![CDATA[ +-------------------------+
| |
| Abstract Network Model |
| |
+------------+------------+
|
+---------+---------+
| |
+------V------+ +------V------+
| Abstract | | Inventory |
| Network | | Models |
| Topology | | e.g., SAP |
| Model | | Network |
| | | Model |
+-----+-------+ +-------------+
|
+-----------+-----------+
| | |
+----V----+ +----V----+ +----V----+
|TE Topo | |L3 Topo | |L2 Topo |
| Model | | Model | | Model | ...
+---------+ +---------+ +---------+]]></artwork>
</figure>
<t><xref target="fig5"></xref> depicts the relationship of the SAP
network model to other models. The SAP network model augments the
Network model <xref target="RFC8345"></xref> and imports the Network
Topology model, while other technology-specific topology models (e.g.,
Traffic Engineering (TE) Topologies model <xref target="RFC8795"></xref>
or Layer 3 Topologies model <xref target="RFC8346"></xref>) augment the
Network Topology model.</t>
<t>Also, the SAP is not a tunnel termination point (TTP) (Section 3.6 of
<xref target="RFC8795"></xref>) nor a link.</t>
<t>In the context of Software-Defined Networking (SDN) <xref
target="RFC7149"></xref><xref target="RFC7426"></xref>, the SAP YANG
data model can be used to exchange information between control elements,
so as to support VPN service provision and resource management discussed
in <xref target="RFC9182"></xref><xref
target="I-D.ietf-opsawg-l2nm"></xref>. Through this data model, the
service orchestration layer can learn the available endpoints (i.e.,
SAPs) of interconnection resources of the underlying network. The
service orchestration layer can determine which interconnection
endpoints to add to an L2VPN or L3VPN service. With the help of other
data models (e.g., L3SM <xref target="RFC8299"></xref> or L2SM <xref
target="RFC8466"></xref>), hierarchical control elements can also assess
the feasibility of an end-to-end IP connectivity or L2VPN connectivity
and, therefore, derive the sequence of domains and the points of
interconnection to use.</t>
<t>Advanced interface-specific data nodes are not included in the SAP
model. The interface identifiers listed in the SAP model can be used as
filters to set or get such data using device models (e.g., <xref
target="RFC7224"></xref>).</t>
</section>
<section anchor="tree" title="SAP Module Tree Structure">
<t>The SAP network model 'ietf-sap-ntw' builds on the 'ietf-network'
module <xref target="RFC8345" /> by augmenting the nodes with SAPs.</t>
<t>The structure of the 'ietf-sap-ntw' module is shown in <xref
target="fi4" />.</t>
<figure align="center" anchor="fi4"
title="SAP YANG Module Tree Structure">
<artwork align="center"><![CDATA[module: ietf-sap-ntw
augment /nw:networks/nw:network/nw:network-types:
+--rw sap-network!
+--rw service-type* identityref
augment /nw:networks/nw:network/nw:node:
+--rw service* [service-type]
+--rw service-type identityref
+--rw sap* [sap-id]
+--rw sap-id string
+--rw description? string
+--rw parent-termination-point? nt:tp-id
+--rw attachment-interface? string
+--rw interface-type? identityref
+--rw encapsulation-type? identityref
+--rw role? identityref
+--rw peer-sap-id? string
+--ro sap-status
| +--ro status? identityref
| +--ro last-change? yang:date-and-time
+--ro service-status
+--ro status? identityref
+--ro last-change? yang:date-and-time
]]></artwork>
</figure>
<t />
<t>A SAP network topology can be used for one or multiple service types
('service-type'). Examples of supported service types are as
follows:<list style="symbols">
<t>L3VPN <xref target="RFC4364" />,</t>
<t>Virtual Private LAN Service (VPLS) <xref target="RFC4761" /><xref
target="RFC4762" />,</t>
<t><xref target="RFC8214">Virtual Private Wire Service
(VPWS)</xref>,</t>
<t><xref target="RFC7432">BGP MPLS-Based Ethernet VPN</xref>,</t>
<t><xref target="RFC8214">VPWS in Ethernet VPN</xref>,</t>
<t><xref target="RFC7623">Provider Backbone Bridging Combined with
Ethernet VPN (PBB-EVPN)</xref>,</t>
<t>VXLAN-based EVPN <xref target="RFC8365" />,</t>
<t>Virtual Networks <xref target="RFC8453" />,</t>
<t>Enhanced VPN (VPN+) <xref
target="I-D.ietf-teas-enhanced-vpn" />,</t>
<t>Network slice <xref
target="I-D.ietf-teas-ietf-network-slices" />,</t>
<t>SDWAN <xref target="I-D.ietf-bess-bgp-sdwan-usage" />, and</t>
<t>Basic IP connectivity.</t>
</list></t>
<t>These service types build on the types that are already defined in
<xref target="RFC9181" /> and additional types that are defined in this
document. Other service types can be defined in future YANG modules, if
needed.</t>
<aside pn="section-5">
<t indent="0" pn="section-5.1">Leveraging the service types defined in
<xref target="RFC9181" /> is meant to ease the correlation between the
SAP topology and the corresponding network modules that are used to
provision a specific service over a provider's network.</t>
</aside>
<t>Filters based on the service type can be used to access per-service
SAP topology. An example is depicted in <xref
target="app-ex-res-body-filter" />.</t>
<t>A node in the topology can support one or multiple service types
('service-type') among those listed under the 'sap-network' container. A
list of SAPs are then bound to each service type that is supported by a
given node. Each SAP is characterized as follows:<list style="hanging">
<t hangText="'sap-id':">Includes an identifier that uniquely
identifies a SAP within a node. <vspace blankLines="1" />The same
SAP may appear under distinct service types. In such a case, the
same identifier is used for these service types in
association.<vspace blankLines="1" />SAPs that are associated with
the interfaces that are directly hosting services, interfaces that
are ready to host per-service sub-interfaces (but not yet
activated), or service that are already instantiated on
sub-interfaces are listed as SAPs.<vspace blankLines="1" />For
example, 'sap-id' may be the VPN network access identifier in
Section 7.6 of <xref target="RFC9182" />. An example to illustrate
the use of this attribute during service creation is provided in
<xref target="servicesap" />.</t>
<t hangText="'description':">Includes a textual description of the
SAP.</t>
<t hangText="'parent-termination-point':">Includes a reference to
the parent termination point to which the SAP is bound. As per
Section 4.2 of <xref target="RFC8345" />, a termination point
terminates a link in a node. A termination point can be a physical
port, an interface, etc. <vspace blankLines="1" />This attribute is
used, e.g., to associate an interface with its sub-interfaces as all
these interfaces may be listed under the SAPs of a node. It is also
used to link a SAP with the physical topology.<vspace
blankLines="1" />For example, this data node can be used to map the
IETF Network Slice endpoints (<xref
target="I-D.ietf-teas-ietf-network-slices" />) to the
service/tunnel/path endpoints in the underlay network.</t>
<t hangText="'attachment-interface':">Indicates a reference to the
interface to which the SAP is bound. The same interface may host
multiple services. <vspace blankLines="1" />Whether the attachment
identifier echoes the content of the attachment interface is
deployment specific. <vspace blankLines="1" />For example, this
reference may be any of the identifiers ('l2-termination-point',
'local-bridge-reference', 'bearer-reference', or 'lag-interface-id')
defined in Section 7.6.1 of <xref target="RFC9182" /> or
'l3-termination-point' defined in Section 7.6.2 of <xref
target="RFC9182" />. It is responsibility of the controller to
ensure that consistent references are used in the SAP and underlying
device modes or any other device inventory mechanism.</t>
<t hangText="'interface-type':">Indicates whether a SAP is bound to
a physical port, a loopback interface, a Link Aggregation Group
(LAG) interface <xref target="IEEE802.1AX" />, an Integrated Routing
Bridge (IRB) (e.g., <xref target="RFC9135" />), a local bridge
reference, etc. <vspace blankLines="1" />The mapping to the detailed
interface types as per <xref target="RFC7224" /> is maintained by
the controller. That mapping is used, for example, when the
controller translates this SAP network module into device
modules.</t>
<t hangText="'encapsulation-type':">Indicates the encapsulation type
for the interface indicated in the 'attachment-interface' attribute.
The types are taken from <xref target="RFC9181" />. <vspace
blankLines="1" />This data node can be used, for example, to decide
whether an existing SAP can be (re)used to host a service or if a
new sub-interface has to be instantiated.</t>
<t hangText="'role':">Specifies the role of a SAP (e.g., a UNI or
NNI). <vspace blankLines="1" />A SAP inherits the role of its parent
interface ('parent-termination-point').</t>
<t hangText="'peer-sap-id':">Includes a reference to the remote
endpoint of an attachment circuit. <vspace blankLines="1" />Examples
of such a reference are: a site identifier (Section 6.3 of <xref
target="RFC8299" />), a Service Demarcation Point (SDP) identifier
(Section 2.1 of <xref
target="I-D.ietf-teas-ietf-network-slices" />), the IP address of a
peer Autonomous System Border Router (ASBR).</t>
<t hangText="'sap-status':">Indicates the operational status of a
SAP. Values are taken from the values defined in <xref
target="RFC9181" />.<vspace blankLines="1" />When both a
sub-interface and its parent interface are present, the status of
the parent interface takes precedence over the status indicated for
the sub-interface.</t>
<t hangText="'service-status':">Reports the operational status of
service for a given SAP. This information is particularly useful
when many services are enabled for the same SAP, but only a subset
of them are activated.</t>
</list></t>
<t />
</section>
<section anchor="mod" title="SAP YANG Module">
<t>This module imports types from <xref target="RFC8343"></xref>, <xref
target="RFC8345"></xref>, and <xref target="RFC9181"></xref>.</t>
<t>The 'sap-information' is defined as a grouping for the reuse of these
nodes in service-specific YANG modules.</t>
<figure>
<artwork><![CDATA[<CODE BEGINS> file "[email protected]"
module ietf-sap-ntw {
yang-version 1.1;
namespace "urn:ietf:params:xml:ns:yang:ietf-sap-ntw";
prefix sap;
import ietf-network-topology {
prefix nt;
reference
"RFC 8345: A YANG Data Model for Network
Topologies, Section 6.2";
}
import ietf-network {
prefix nw;
reference
"RFC 8345: A YANG Data Model for Network
Topologies, Section 6.1";
}
import ietf-vpn-common {
prefix vpn-common;
reference
"RFC 9181: A Common YANG Data Model for Layer 2 and Layer 3
VPNs";
}
organization
"IETF OPSA (Operations and Management Area) Working Group ";
contact
"WG Web: <https://datatracker.ietf.org/wg/opsawg/>
WG List: <mailto:[email protected]>
Editor: Mohamed Boucadair
<mailto:[email protected]>
Author: Oscar Gonzalez de Dios
<mailto:[email protected]>
Author: Samier Barguil
<mailto:[email protected]>
Author: Qin Wu
<mailto:[email protected]>
Author: Victor Lopez
description
"This YANG module defines a model for representing, managing,
and controlling the Service Attachment Points (SAPs) in the
network topology.
Copyright (c) 2022 IETF Trust and the persons identified as
authors of the code. All rights reserved.
Redistribution and use in source and binary forms, with or
without modification, is permitted pursuant to, and subject to
the license terms contained in, the Revised BSD License set
forth in Section 4.c of the IETF Trust's Legal Provisions
Relating to IETF Documents
(https://trustee.ietf.org/license-info).
This version of this YANG module is part of RFC XXXX
(https://www.rfc-editor.org/info/rfcXXXX); see the RFC itself
for full legal notices.";
revision 2022-04-11 {
description
"Initial version";
reference
"RFC XXXX: A YANG Network Model for Service Attachment
Points (SAPs)";
}
identity virtual-network {
base vpn-common:service-type;
description
"Virtual network. Refers to a logical network instance
that is built over a physical network.";
reference
"RFC 8453: Framework for Abstraction and Control of TE
Networks (ACTN)";
}
identity enhanced-vpn {
base vpn-common:service-type;
description
"Enhanced VPN (VPN+). VPN+ is an approach that is
based on existing VPN and Traffic Engineering (TE)
technologies but adds characteristics that specific
services require over and above traditional VPNs.";
reference
"draft-ietf-teas-enhanced-vpn:
A Framework for Enhanced Virtual Private Network
(VPN+) Services";
}
identity network-slice {
base vpn-common:service-type;
description
"IETF network slice. An IETF network slice
is a logical network topology connecting a number of
endpoints using a set of shared or dedicated network
resources that are used to satisfy specific service
objectives.";
reference
"draft-ietf-teas-ietf-network-slices:
Framework for IETF Network Slices";
}
identity sdwan {
base vpn-common:service-type;
description
"PE-based Software-Defined Wide Area Network (SDWAN).";
reference
"draft-ietf-bess-bgp-sdwan-usage: BGP Usage for SDWAN
Overlay Network";
}
identity basic-connectivity {
base vpn-common:service-type;
description
"Basic IP connectivity. This is, for example, a plain
connectivity offered to Enterprises over a dedicated
or shared MPLS infrastructure.";
}
identity interface-role {
description
"Base identity for the network role of an interface.";
}
identity uni {
base interface-role;
description
"User-Network Interface (UNI).";
}
identity nni {
base interface-role;
description
"Network-to-Network Interface (NNI).";
}
identity interface-type {
description
"Base identity for the interface type.";
}
identity phy {
base interface-type;
description
"Physical port.";
}
identity loopback {
base interface-type;
description
"Loopback interface.";
}
identity lag {
base interface-type;
description
"Link Aggregation Group (LAG) interface.";
}
identity irb {
base interface-type;
description
"Integrated Routing Bridge (IRB). An IRB typically
connects an IP-VRF to a bridge domain.";
}
identity local-bridge {
base interface-type;
description
"A local bridge reference to accommodate, e.g.,
implementations that require internal bridging.
When such a type is used, a reference to a local
bridge domain is used to identify the interface.";
}
identity logical {
base interface-type;
description
"Refers to a logical sub-interface that is typically
used to bind a service. This type is used only
if none of the other logical types can be used.";
}
grouping sap-information {
description
"Service Attachment Point (SAP) information.";
list sap {
key "sap-id";
description
"The Service Attachment Points are abstraction of
the points where network services such as L3VPNs,
L2VPNs, or network slices can be attached to.";
leaf sap-id {
type string;
description
"Indicates an identifier that uniquely identifies
SAP within a node.";
}
leaf description {
type string;
description
"A textual description of the SAP.";
}
leaf parent-termination-point {
type nt:tp-id;
description
"Indicates the parent termination point to
which the SAP is attached to. A termination
point can be a physical port, an interface, etc.";
}
leaf attachment-interface {
type string;
description
"Indicates the interface to which the SAP is bound.";
}
leaf interface-type {
type identityref {
base interface-type;
}
description
"The type of the interface to which the SAP is bound.";
}
leaf encapsulation-type {
type identityref {
base vpn-common:encapsulation-type;
}
description
"Encapsulation type of the interface to which the
SAP is bound.";
}
leaf role {
type identityref {
base interface-role;
}
description
"Indicates the role of a SAP.";
}
leaf peer-sap-id {
type string;
description
"Indicates an identifier of the peer's termination
identifier (e.g., Customer Edge (CE)). This
information can be used for correlation purposes,
such as identifying the SAP that is attached to
an endpoint that is provided in a service request.";
}
container sap-status {
config "false";
description
"Indicates the SAP status.";
uses vpn-common:oper-status-timestamp;
}
container service-status {
config "false";
description
"Indicates the service status.";
uses vpn-common:oper-status-timestamp;
}
}
}
augment "/nw:networks/nw:network/nw:network-types" {
description
"Introduces a new network type for SAP network.";
container sap-network {
presence "Indicates SAP network type.";
description
"The presence of the container node indicates the
SAP network type.";
leaf-list service-type {
type identityref {
base vpn-common:service-type;
}
description
"Indicates the set of supported service types.";
}
}
}
augment "/nw:networks/nw:network/nw:node" {
when "../nw:network-types/sap:sap-network" {