2 * Copyright (C) 2014 Red Hat, Inc.
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
8 * Authors : Madhu Venugopal, Dave Tucker
11 package org.opendaylight.ovsdb.openstack.netvirt.providers.openflow13.services;
13 import org.opendaylight.controller.sal.core.Node;
14 import org.opendaylight.controller.sal.utils.Status;
15 import org.opendaylight.controller.sal.utils.StatusCode;
16 import org.opendaylight.ovsdb.openstack.netvirt.api.Action;
17 import org.opendaylight.ovsdb.openstack.netvirt.api.OutboundNatProvider;
18 import org.opendaylight.ovsdb.openstack.netvirt.providers.openflow13.AbstractServiceInstance;
19 import org.opendaylight.ovsdb.openstack.netvirt.providers.openflow13.Service;
21 import java.net.InetAddress;
23 public class OutboundNatService extends AbstractServiceInstance implements OutboundNatProvider {
24 public OutboundNatService() {
25 super(Service.OUTBOUND_NAT);
28 public OutboundNatService(Service service) {
33 public boolean isBridgeInPipeline (String nodeId) {
38 public Status programIpRewriteRule(Node node, Long dpid, String segmentationId, InetAddress matchAddress,
39 InetAddress rewriteAddress, Action action) {
40 return new Status(StatusCode.NOTIMPLEMENTED);
44 public Status programIpRewriteExclusion(Node node, Long dpid, String segmentationId, String excludedCidr,
46 return new Status(StatusCode.NOTIMPLEMENTED);