2020-10-22 18:40:55 +03:00
|
|
|
package container
|
|
|
|
|
2020-10-22 19:10:42 +03:00
|
|
|
// SysAttributePrefix is a prefix of key to system attribute.
|
|
|
|
const SysAttributePrefix = "__NEOFS__"
|
2020-10-22 18:40:55 +03:00
|
|
|
|
|
|
|
const (
|
2020-10-22 19:10:42 +03:00
|
|
|
// SysAttributeSubnet is a string ID of container's storage subnet.
|
|
|
|
SysAttributeSubnet = SysAttributePrefix + "SUBNET"
|
2021-10-11 11:04:58 +03:00
|
|
|
|
|
|
|
// SysAttributeName is a string of human-friendly container name registered as the domain in NNS contract.
|
|
|
|
SysAttributeName = SysAttributePrefix + "NAME"
|
|
|
|
|
|
|
|
// SysAttributeZone is a string of zone for container name.
|
|
|
|
SysAttributeZone = SysAttributePrefix + "ZONE"
|
2020-10-22 18:40:55 +03:00
|
|
|
)
|
2021-10-14 11:50:05 +03:00
|
|
|
|
|
|
|
// SysAttributeZoneDefault is a default value for SysAttributeZone attribute.
|
|
|
|
const SysAttributeZoneDefault = "container"
|