Class SubnetDataProcessor
- java.lang.Object
-
- org.opendaylight.lispflowmapping.neutron.SubnetDataProcessor
-
- All Implemented Interfaces:
DataProcessor<org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.subnets.rev150712.subnets.attributes.subnets.Subnet>
public class SubnetDataProcessor extends java.lang.Object implements DataProcessor<org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.subnets.rev150712.subnets.attributes.subnets.Subnet>
Lisp Service implementation of creation and deletion of a Subnet results in defining the subnet as an EID prefix in the LISP Mapping System with subnet's network UUID as the key to use for registering mappings for the subnet.- Author:
- Vina Ermagan
-
-
Constructor Summary
Constructors Constructor Description SubnetDataProcessor(ILispNeutronService lispNeutronService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcreate(org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.subnets.rev150712.subnets.attributes.subnets.Subnet subnet)Method adds the newly created subnet as an EID prefix to the MappingService.voiddelete(org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.subnets.rev150712.subnets.attributes.subnets.Subnet subnet)Method removes the EID prefix and key associated with the deleted subnet from Lisp mapping service.voidupdate(org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.subnets.rev150712.subnets.attributes.subnets.Subnet subnet)This method updates a DataObject.
-
-
-
Constructor Detail
-
SubnetDataProcessor
public SubnetDataProcessor(ILispNeutronService lispNeutronService)
-
-
Method Detail
-
create
public void create(org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.subnets.rev150712.subnets.attributes.subnets.Subnet subnet)
Method adds the newly created subnet as an EID prefix to the MappingService. The subnet's network UUID is used as the key for this EID prefix.- Specified by:
createin interfaceDataProcessor<org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.subnets.rev150712.subnets.attributes.subnets.Subnet>- Parameters:
subnet- - the object of type DataObject that has changed
-
update
public void update(org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.subnets.rev150712.subnets.attributes.subnets.Subnet subnet)
Description copied from interface:DataProcessorThis method updates a DataObject.- Specified by:
updatein interfaceDataProcessor<org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.subnets.rev150712.subnets.attributes.subnets.Subnet>- Parameters:
subnet- - the object of type DataObject that has changed
-
delete
public void delete(org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.subnets.rev150712.subnets.attributes.subnets.Subnet subnet)
Method removes the EID prefix and key associated with the deleted subnet from Lisp mapping service.- Specified by:
deletein interfaceDataProcessor<org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.subnets.rev150712.subnets.attributes.subnets.Subnet>- Parameters:
subnet- - the object of type DataObject that has changed
-
-