blob: 4d6fb7c259ba719789be6a08eb67645fc3542d7a (
plain)
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
|
module onf-ethernet-conditional-packages {
namespace "urn:onf:params:xml:ns:yang:onf-ethernet-conditional-packages";
prefix onf-ethernet-conditional-packages;
import core-model {
prefix core-model;
}
organization "ONF (Open Networking Foundation) Open Transport Working Group - Wireless Transport Project";
contact "WG Web: <https://www.opennetworking.org/technical-communities/areas/specification/1931-optical-transport>
WG List: <mailto:wireless-transport@login.opennetworking.org>
WG Chair: Lyndon Ong
<mailto:lyong@ciena.com>
WG Chair: Giorgio Cazzaniga
<mailto:giorgio.cazzaniga@sm-optics.com>
Editors: Thorsten Heinze
<mailto:thorsten.heinze@telefonica.com>
Martin Skorupski
<mailto:martin.skorupski@highstreet-technologies.com>";
description "This model adds conditional packages to the ONF CoreModel in order address Ethernet use cases.";
revision 2017-04-02 {
description "Initial version";
reference "ONF TR 532: A YANG Data Model for Wireless Networks.";
}
/***********************
* package object-classes
**********************/
list ethernet-pac {
key 'layer-protocol';
leaf layer-protocol {
type leafref {
path '/core-model:network-element/core-model:ltp/core-model:lp/core-model:uuid';
}
description "none";
}
container ethernet-capability {
config false;
uses ethernet-capability-g;
description "none";
}
container ethernet-configuration {
uses ethernet-configuration-g;
description "none";
}
container ethernet-status {
config false;
uses ethernet-status-g;
description "none";
}
container ethernet-current-problems {
config false;
uses ethernet-current-problems-g;
description "none";
}
container ethernet-current-performance {
config false;
uses ethernet-current-performance-g;
description "none";
}
container ethernet-historical-performances {
config false;
uses ethernet-historical-performances-g;
description "none";
}
description "none";
}
grouping ethernet-capability-g {
description "none";
}
grouping ethernet-configuration-g {
leaf vlan-id {
type int16;
description "value = 0: frames on ingress must be untagged, frames on egress get untagged; value = any other positive integer < 4096: frames on ingress must be tagged with this VLAN ID, frames on egress either already have or get this VLAN ID attached;";
}
description "none";
}
grouping ethernet-status-g {
description "none";
}
grouping ethernet-current-problems-g {
description "none";
}
grouping ethernet-current-performance-g {
description "none";
}
grouping ethernet-historical-performances-g {
description "none";
}
}
|