blob: 81dd28aa18eaa50ac05f453f47e593a88490e74f [file] [log] [blame]
Daniele Moro7c31a3b2021-06-15 20:53:22 +02001/*
2 * Copyright 2021-present Open Networking Foundation
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
tosinskia57652d2021-11-22 16:53:00 +010017package org.onosproject.net.behaviour.upf;
18
19import com.google.common.annotations.Beta;
20
Daniele Moro7c31a3b2021-06-15 20:53:22 +020021/**
tosinskia57652d2021-11-22 16:53:00 +010022 * Abstraction of a UPF entity used to interact with the UPF-programmable device.
Daniele Moro7c31a3b2021-06-15 20:53:22 +020023 */
tosinskia57652d2021-11-22 16:53:00 +010024@Beta
25public interface UpfEntity {
26 /**
Daniele Moro97fd80c2022-01-13 19:16:34 +010027 * Default Application ID, to be used if application filtering is performed.
28 */
29 byte DEFAULT_APP_ID = 0;
30
31 /**
tosinskia57652d2021-11-22 16:53:00 +010032 * Returns the type of this entity.
33 *
34 * @return entity type
35 */
36 UpfEntityType type();
37}