/* * Copyright (c) 2016 Ericsson India Global Services Pvt Ltd. and others. All rights reserved. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v1.0 which accompanies this distribution, * and is available at http://www.eclipse.org/legal/epl-v10.html */ package org.opendaylight.vpnservice.neutronvpn.interfaces; import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress; import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid; import org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.ports.rev150712.ports.attributes.ports.Port; import org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.subnets.rev150712.subnets.attributes.subnets.Subnet; import java.util.List; public interface INeutronVpnManager { public void addSubnetToVpn(Uuid vpnId, Uuid subnet); public void removeSubnetFromVpn(Uuid vpnId, Uuid subnet); public List getSubnetsforVpn(Uuid vpnid); List showVpnConfigCLI(Uuid vuuid); List showNeutronPortsCLI(); public Port getNeutronPort(String name); public Subnet getNeutronSubnet(Uuid subnetId); public String uuidToTapPortName(Uuid id); public Port getNeutronPort(Uuid portId); public IpAddress getNeutronSubnetGateway(Uuid subnetId); }