New version of transportpce-pathDescription
[transportpce.git] / pce / src / main / java / org / opendaylight / transportpce / pce / gnpy / ServiceDataStoreOperations.java
1 /*
2  * Copyright © 2018 Orange, 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
9 package org.opendaylight.transportpce.pce.gnpy;
10
11 import org.opendaylight.yang.gen.v1.gnpy.gnpy.api.rev190103.GnpyApi;
12 import org.opendaylight.yangtools.yang.binding.InstanceIdentifier;
13
14 public interface ServiceDataStoreOperations {
15
16     String createJsonStringFromDataObject(InstanceIdentifier<GnpyApi> id, GnpyApi object) throws GnpyException;
17
18     void writeStringFile(String jsonString, String fileName) throws GnpyException;
19 }