@@ -0,0 +1,2262 @@
+/*%0D%0A * Copyright 2015 Open Networking Laboratory%0D%0A *%0D%0A * Licensed under the Apache License, Version 2.0 (the %22License%22);%0D%0A * you may not use this file except in compliance with the License.%0D%0A * You may obtain a copy of the License at%0D%0A *%0D%0A *     http://www.apache.org/licenses/LICENSE-2.0%0D%0A *%0D%0A * Unless required by applicable law or agreed to in writing, software%0D%0A * distributed under the License is distributed on an %22AS IS%22 BASIS,%0D%0A * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.%0D%0A * See the License for the specific language governing permissions and%0D%0A * limitations under the License.%0D%0A */%0D%0Apackage org.onosproject.vtnrsc;%0D%0A%0D%0Aimport java.util.List;%0D%0A%0D%0A/**%0D%0A * Representation of a Router.%0D%0A */%0D%0Apublic interface Router %7B%0D%0A%0D%0A    /**%0D%0A     * Coarse classification of the type of the Router.%0D%0A     */%0D%0A    public enum Status %7B%0D%0A        /**%0D%0A         * Signifies that a router is currently active.%0D%0A         */%0D%0A        ACTIVE,%0D%0A        /**%0D%0A         * Signifies that a router is currently inactive.%0D%0A         */%0D%0A        INACTIVE%0D%0A    %7D%0D%0A%0D%0A    /**%0D%0A     * Returns the router identifier.%0D%0A     *%0D%0A     * @return identifier%0D%0A     */%0D%0A    RouterId id();%0D%0A%0D%0A    /**%0D%0A     * Returns the router Name.%0D%0A     *%0D%0A     * @return routerName%0D%0A     */%0D%0A    String name();%0D%0A%0D%0A    /**%0D%0A     * Returns the router admin state.%0D%0A     *%0D%0A     * @return true or false%0D%0A     */%0D%0A    boolean adminStateUp();%0D%0A%0D%0A    /**%0D%0A     * Returns the status of router.%0D%0A     *%0D%0A     * @return RouterStatus%0D%0A     */%0D%0A    Status status();%0D%0A%0D%0A    /**%0D%0A     * Returns the distributed status of this router.%0D%0A     * If true, indicates a distributed router.%0D%0A     *%0D%0A     * @return true or false%0D%0A     */%0D%0A    boolean distributed();%0D%0A%0D%0A    /**%0D%0A     * Returns the RouterGateway of router.%0D%0A     *%0D%0A     * @return routerGateway%0D%0A     */%0D%0A    RouterGateway externalGatewayInfo();%0D%0A%0D%0A    /**%0D%0A     * Returns the gatewayPortid of router.%0D%0A     *%0D%0A     * @return virtualPortId%0D%0A     */%0D%0A    VirtualPortId gatewayPortid();%0D%0A%0D%0A    /**%0D%0A     * Returns the owner(tenant) of this router.%0D%0A     *%0D%0A     * @return tenantId%0D%0A     */%0D%0A    TenantId tenantId();%0D%0A%0D%0A    /**%0D%0A     * Returns the router list of router.%0D%0A     *%0D%0A     * @return routes%0D%0A     */%0D%0A    List%3CString%3E routes();%0D%0A%7D%0D%0A

add Router api