Z MetaCentrum
Přejít na: navigace, hledání

Back to Perun main page

Attributes consist of:

  • ID – identification number
  • Name – technical name of the attribute
  • Display name – human readable name
  • Description – what purpose the attribute have
  • Entity – what entity it is used for:
    • Entityless – attribute for the entire Perun system and doesn't apply to a particular entity, e.g. namespace-maxGID
    • Facility
    • Group
    • Group_resource – group linked to a specific resource
    • Group_member – membership in certain group
    • Host
    • Member
    • Member_resource – quotas and limits for using resource
    • Resource
    • User ext_source – primary user identities (LDAP, SQL)
    • User
    • User_facility
    • VO
  • Type – type of the attribute (core, def, opt, virt)
  • Data type – used data type

Attribute types

  • core - basic attributes
  • def - extensional attribute with precisely defined purpose
  • opt - extensional attribute without strict purpose
  • virt - does not have a value on its own, its value is computed from other attributes and relations stored in Perun

Data types

  • Map (key-value storage)
  • List
  • Integer
  • String
  • LargeString (in case you need to store more than 4kb)
  • Boolean

Module options

(only for def, opt, virt)

Modules control correct definition of attributes:

  • syntax and semantics (def, opt)
  • automatic generation of values (def, opt)
  • the dependence of individual attributes on each other (def, opt, virt)
  • definition of how the attribute value should be computed (virt)