Class GbpL2Policy

    • Constructor Detail

      • GbpL2Policy

        public GbpL2Policy()
    • Method Detail

      • 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
      • 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
      • 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
      • getDescription

        public String getDescription()
        Description copied from interface: L2Policy
        Gets the description
        Specified by:
        getDescription in interface L2Policy
        Returns:
        the description
      • getNetworkId

        public String getNetworkId()
        Description copied from interface: L2Policy
        Gets the network Id
        Specified by:
        getNetworkId in interface L2Policy
        Returns:
        the network Id
      • getL3PolicyId

        public String getL3PolicyId()
        Description copied from interface: L2Policy
        Gets the L3 Policy Id
        Specified by:
        getL3PolicyId in interface L2Policy
        Returns:
        the L3 Policy Id
      • isShared

        public boolean isShared()
        Description copied from interface: L2Policy
        Is L2 Policy shared
        Specified by:
        isShared in interface L2Policy
        Returns:
        the true if shared and false if not shared
      • getPolicyTargetGroups

        public List<String> getPolicyTargetGroups()
        Description copied from interface: L2Policy
        Gets the list of policy Target groups
        Specified by:
        getPolicyTargetGroups in interface L2Policy
        Returns:
        the policy target group list