Class NeutronPortPairGroup

    • Constructor Detail

      • NeutronPortPairGroup

        public NeutronPortPairGroup()
    • Method Detail

      • getId

        public String getId()
        Specified by:
        getId in interface IdEntity
        Returns:
        the identifier for this resource
      • setId

        public void setId​(String id)
        Description copied from interface: IdEntity
        Sets the identifier for this resource. Note: creating a new resource should not have the idenfier set since OpenStack will assign one on the create call
        Specified by:
        setId in interface IdEntity
        Parameters:
        id - the identifier
      • setName

        public void setName​(String name)
        Description copied from interface: BasicResource
        Sets the name for this resource
        Specified by:
        setName in interface BasicResource
        Parameters:
        name - the name to set
      • getTenantId

        public String getTenantId()
        Specified by:
        getTenantId in interface Resource
        Returns:
        the tenant identifier for this resource
      • setTenantId

        public void setTenantId​(String tenantId)
        Description copied from interface: Resource
        Sets the tenant identifier
        Specified by:
        setTenantId in interface Resource
        Parameters:
        tenantId - the tenant id to set
      • getDescription

        public String getDescription()
        Specified by:
        getDescription in interface PortPairGroup
        Returns:
        description : Human readable description for the port pair group
      • setDescription

        public void setDescription​(String description)
      • setPortPairs

        public void setPortPairs​(List<String> portPairs)
      • getPortPairGroupParameters

        public Map<String,​Object> getPortPairGroupParameters()
        Specified by:
        getPortPairGroupParameters in interface PortPairGroup
        Returns:
        Dictionary of parameters for this group. Possible keys: lb_fields or service_type. Check openstack documentation.
      • setPortPairGroupParameters

        public void setPortPairGroupParameters​(Map<String,​Object> portPairGroupParameters)