Class 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
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      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.
      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.
      void update​(org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.subnets.rev150712.subnets.attributes.subnets.Subnet subnet)
      This method updates a DataObject.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • 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:
        create in interface DataProcessor<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: DataProcessor
        This method updates a DataObject.
        Specified by:
        update in interface DataProcessor<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:
        delete in interface DataProcessor<org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.subnets.rev150712.subnets.attributes.subnets.Subnet>
        Parameters:
        subnet - - the object of type DataObject that has changed