2 * Copyright © 2018 Orange, Inc. and others. All rights reserved.
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
9 package org.opendaylight.transportpce.pce.gnpy;
11 import org.opendaylight.yang.gen.v1.gnpy.gnpy.api.rev190103.GnpyApi;
12 import org.opendaylight.yangtools.yang.binding.InstanceIdentifier;
14 public interface ServiceDataStoreOperations {
16 String createJsonStringFromDataObject(InstanceIdentifier<GnpyApi> id, GnpyApi object) throws GnpyException;
18 void writeStringFile(String jsonString, String fileName) throws GnpyException;