1 module o-ran-ethernet-forwarding {
3 namespace "urn:o-ran:ethernet-fwd:1.0";
6 import ietf-yang-types {
10 import o-ran-interfaces {
14 import ietf-interfaces {
18 organization "O-RAN Alliance";
24 "This module defines the Ethernet forwarding table of an O-RU.
25 This is an option capability used when supporting 'shared cell' operation.
27 Copyright 2020 the O-RAN Alliance.
29 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 'AS IS'
30 AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
31 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
32 ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
33 LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
34 CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
35 SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
36 INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
37 CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
38 ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
39 POSSIBILITY OF SUCH DAMAGE.
41 Redistribution and use in source and binary forms, with or without
42 modification, are permitted provided that the following conditions are met:
44 * Redistributions of source code must retain the above copyright notice,
45 this list of conditions and the above disclaimer.
46 * Redistributions in binary form must reproduce the above copyright notice,
47 this list of conditions and the above disclaimer in the documentation
48 and/or other materials provided with the distribution.
49 * Neither the Members of the O-RAN Alliance nor the names of its
50 contributors may be used to endorse or promote products derived from
51 this software without specific prior written permission.";
53 revision "2020-04-17" {
59 reference "ORAN-WG4.M.0-v03.00";
62 grouping ethernet-ft {
64 "Ethernet forwarding table.";
73 "The timeout period in seconds for aging out
74 dynamically-learned forwarding information.";
77 list filtering-entry {
78 key "address vlan-id";
81 "List of the entries within the Ethernet forwarding table.
82 This list is keyed by the MAC address and VLAN of the Ethernet frame.";
85 type yang:mac-address;
87 "A MAC address (unicast, multicast, broadcast) for
88 which the device has forwarding and/or filtering
97 "VLAN-ID entry in the forwarding table, used during the
98 look-up when receiving an in-coming Ethernet frame to determine
101 A value of 0 indicates that the filtering entry is for an un-tagged
108 "The list of entries composing the port map.";
111 path "/if:interfaces/if:interface/or-if:port-reference/or-if:port-number";
114 "The interface port reference associated with this map.";
120 container ethernet-forwarding-table {
121 description "Top level container defining forwarding tables for Ethernet";