Merge branch 'topic/master/neutron-yang-migration' to branch 'master'
[netvirt.git] / openstack / net-virt / src / main / java / org / opendaylight / ovsdb / openstack / netvirt / translator / crud / impl / NeutronFirewallInterface.java
1 /*
2  * Copyright (c) 2014, 2015 Red Hat, Inc. and others.  All rights reserved.
3  *
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
7  */
8
9 package org.opendaylight.ovsdb.openstack.netvirt.translator.crud.impl;
10
11 import java.util.List;
12
13 import org.opendaylight.controller.sal.binding.api.BindingAwareBroker.ProviderContext;
14 import org.opendaylight.ovsdb.openstack.netvirt.translator.INeutronObject;
15 import org.opendaylight.ovsdb.openstack.netvirt.translator.NeutronFirewall;
16 import org.opendaylight.ovsdb.openstack.netvirt.translator.crud.INeutronFirewallCRUD;
17 import org.opendaylight.yangtools.yang.binding.DataObject;
18 import org.opendaylight.yangtools.yang.binding.InstanceIdentifier;
19 import org.osgi.framework.BundleContext;
20 import org.osgi.framework.ServiceRegistration;
21
22 public class NeutronFirewallInterface extends AbstractNeutronInterface implements INeutronFirewallCRUD {
23
24     NeutronFirewallInterface(ProviderContext providerContext) {
25         super(providerContext);
26     }
27
28     public static void registerNewInterface(BundleContext context,
29                                             ProviderContext providerContext,
30                                             List<ServiceRegistration<?>> registrations) {
31         NeutronFirewallInterface neutronFirewallInterface = new NeutronFirewallInterface(providerContext);
32         ServiceRegistration<INeutronFirewallCRUD> neutronFirewallInterfaceRegistration = context.registerService(INeutronFirewallCRUD.class, neutronFirewallInterface, null);
33         if(neutronFirewallInterfaceRegistration != null) {
34             registrations.add(neutronFirewallInterfaceRegistration);
35         }
36     }
37
38     @Override
39     public boolean neutronFirewallExists(String uuid) {
40         // TODO Auto-generated method stub
41         return false;
42     }
43
44     @Override
45     public NeutronFirewall getNeutronFirewall(String uuid) {
46         // TODO Auto-generated method stub
47         return null;
48     }
49
50     @Override
51     public List<NeutronFirewall> getAllNeutronFirewalls() {
52         // TODO Auto-generated method stub
53         return null;
54     }
55
56     @Override
57     public boolean addNeutronFirewall(NeutronFirewall input) {
58         // TODO Auto-generated method stub
59         return false;
60     }
61
62     @Override
63     public boolean removeNeutronFirewall(String uuid) {
64         // TODO Auto-generated method stub
65         return false;
66     }
67
68     @Override
69     public boolean updateNeutronFirewall(String uuid, NeutronFirewall delta) {
70         // TODO Auto-generated method stub
71         return false;
72     }
73
74     @Override
75     public boolean neutronFirewallInUse(String uuid) {
76         // TODO Auto-generated method stub
77         return false;
78     }
79
80     @Override
81     protected InstanceIdentifier createInstanceIdentifier(DataObject item) {
82         // TODO Auto-generated method stub
83         return null;
84     }
85
86     @Override
87     protected DataObject toMd(INeutronObject neutronObject) {
88         // TODO Auto-generated method stub
89         return null;
90     }
91
92     @Override
93     protected DataObject toMd(String uuid) {
94         // TODO Auto-generated method stub
95         return null;
96     }
97 }