Class PortDataProcessor
- java.lang.Object
-
- org.opendaylight.lispflowmapping.neutron.PortDataProcessor
-
- All Implemented Interfaces:
DataProcessor<org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.ports.rev150712.ports.attributes.ports.Port>
public class PortDataProcessor extends java.lang.Object implements DataProcessor<org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.ports.rev150712.ports.attributes.ports.Port>
Lisp Service implementation of NeutronPortAware API Creation of a new port results adding the mapping for the port's IP addresses to the port's host_ip in the mapping service. Currently the NetronPort object does not carry the required information to achieve the port's host_ip. Once such extension is available this class shall be updated.- Author:
- Vina Ermagan
-
-
Constructor Summary
Constructors Constructor Description PortDataProcessor(ILispNeutronService lispNeutronService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
create(org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.ports.rev150712.ports.attributes.ports.Port port)
This method creates a new DataObject.void
delete(org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.ports.rev150712.ports.attributes.ports.Port port)
This method removes a DataObject.void
update(org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.ports.rev150712.ports.attributes.ports.Port port)
This method updates a DataObject.
-
-
-
Constructor Detail
-
PortDataProcessor
public PortDataProcessor(ILispNeutronService lispNeutronService)
-
-
Method Detail
-
create
public void create(org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.ports.rev150712.ports.attributes.ports.Port port)
Description copied from interface:DataProcessor
This method creates a new DataObject.- Specified by:
create
in interfaceDataProcessor<org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.ports.rev150712.ports.attributes.ports.Port>
- Parameters:
port
- - the object of type DataObject that has changed
-
update
public void update(org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.ports.rev150712.ports.attributes.ports.Port port)
Description copied from interface:DataProcessor
This method updates a DataObject.- Specified by:
update
in interfaceDataProcessor<org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.ports.rev150712.ports.attributes.ports.Port>
- Parameters:
port
- - the object of type DataObject that has changed
-
delete
public void delete(org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.ports.rev150712.ports.attributes.ports.Port port)
Description copied from interface:DataProcessor
This method removes a DataObject.- Specified by:
delete
in interfaceDataProcessor<org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.ports.rev150712.ports.attributes.ports.Port>
- Parameters:
port
- - the object of type DataObject that has changed
-
-