blob: 82d1f0abcfb638f459db849149c0955b0ac95ea8 [file] [log] [blame]
Carmelo Cascone58136812018-07-19 03:40:16 +02001/*
2 * Copyright 2018-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
17package org.onosproject.store.pi.impl;
18
Carmelo Cascone58136812018-07-19 03:40:16 +020019import org.onosproject.net.group.Group;
Carmelo Cascone9db4d5c2019-04-16 17:36:33 -070020import org.onosproject.net.pi.runtime.PiPreEntry;
21import org.onosproject.net.pi.service.PiReplicationGroupTranslationStore;
22import org.osgi.service.component.annotations.Component;
Carmelo Cascone58136812018-07-19 03:40:16 +020023
24/**
Carmelo Cascone9db4d5c2019-04-16 17:36:33 -070025 * Distributed implementation of a PI translation store for groups that require
26 * packet replication.
Carmelo Cascone58136812018-07-19 03:40:16 +020027 */
Carmelo Cascone9db4d5c2019-04-16 17:36:33 -070028@Component(immediate = true, service = PiReplicationGroupTranslationStore.class)
29public class DistributedPiReplicationGroupTranslationStore
30 extends AbstractDistributedPiTranslationStore<Group, PiPreEntry>
31 implements PiReplicationGroupTranslationStore {
Carmelo Cascone58136812018-07-19 03:40:16 +020032
Carmelo Cascone9db4d5c2019-04-16 17:36:33 -070033 private static final String MAP_SIMPLE_NAME = "replication-group";
Carmelo Cascone58136812018-07-19 03:40:16 +020034
35 @Override
36 protected String mapSimpleName() {
37 return MAP_SIMPLE_NAME;
38 }
39}