Class NeutronRouter

    • Constructor Detail

      • NeutronRouter

        public NeutronRouter()
    • Method Detail

      • getId

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

        public void setId​(String id)
        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)
        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)
        Sets the tenant identifier
        Specified by:
        setTenantId in interface Resource
        Parameters:
        tenantId - the tenant id to set
      • getRoutes

        public List<? extends HostRoute> getRoutes()
        Host Routing entries for the router
        Specified by:
        getRoutes in interface Router
        Returns:
        the routes for the router
      • isAdminStateUp

        public boolean isAdminStateUp()
        Administrative state of the router
        Specified by:
        isAdminStateUp in interface Router
        Returns:
        true, if the administrative state is up
      • getStatus

        public State getStatus()
        Indicates whether a router is currently operational or not
        Specified by:
        getStatus in interface Router
        Returns:
        the state/status of the router
      • getExternalGatewayInfo

        public ExternalGateway getExternalGatewayInfo()
        Information on external gateway for the router
        Specified by:
        getExternalGatewayInfo in interface Router
        Returns:
        the external gateway info
      • getDistributed

        public Boolean getDistributed()
        Description copied from interface: Router
        true indicates a distributed router. It is available when dvr extension is enabled.
        Specified by:
        getDistributed in interface Router
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object