Catalog RPC Implementation
[transportpce.git] / servicehandler / src / main / java / org / opendaylight / transportpce / servicehandler / catalog / CatalogDataStoreOperations.java
1 /*
2  * Copyright © 2023 Fujitsu Network Communications, Inc. and others. All rights reserved.
3  *
4  * This program and the accompanying materials are made available under the
5  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6  * and is available at http://www.eclipse.org/legal/epl-v10.html
7  */
8 package org.opendaylight.transportpce.servicehandler.catalog;
9
10 import org.opendaylight.yang.gen.v1.http.org.openroadm.operational.mode.catalog.rev211210.operational.mode.catalog.OpenroadmOperationalModes;
11 import org.opendaylight.yang.gen.v1.http.org.openroadm.operational.mode.catalog.rev211210.operational.mode.catalog.SpecificOperationalModes;
12
13 /**
14  * Store operational mode catalog into MDSAL .
15  */
16 public interface CatalogDataStoreOperations {
17
18     /**
19      * Store OpenroadmOperationalModes object in the config data store.
20      */
21     void addOpenroadmOperationalModesToCatalog(OpenroadmOperationalModes objToSave);
22
23     /**
24      * Store SpecificOperationalModes object in the config data store.
25      */
26     void addSpecificOperationalModesToCatalog(SpecificOperationalModes objToSave);
27
28 }