05eed6f23f78bc807becfac9bf98f7abc43bb719
[controller.git] / opendaylight / configuration / api / src / main / java / org / opendaylight / controller / configuration / IConfigurationServiceCommon.java
1
2 /*
3  * Copyright (c) 2013 Cisco Systems, Inc. and others.  All rights reserved.
4  *
5  * This program and the accompanying materials are made available under the
6  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
7  * and is available at http://www.eclipse.org/legal/epl-v10.html
8  */
9
10 package org.opendaylight.controller.configuration;
11
12 import org.opendaylight.controller.sal.utils.Status;
13
14 /**
15  * Common configuration interface for Configuration Service and Container
16  * Configuration Service
17  */
18 public interface IConfigurationServiceCommon {
19     /**
20      * Represent the trigger to save the controller configuration cluster wide.
21      * When called on IConfigurationService, it will trigger a cluster wide save
22      * configuration event for all the global instance components and all
23      * components in all containers. When called on
24      * IContainerConfigurationService, it will trigger a cluster wide save
25      * configuration event for all components in the current container.
26      *
27      * @return the Status object representing the result of the saving request
28      */
29     Status saveConfigurations();
30 }