From 115d8c801d15fd14ffa07a6b12d2ee6efbb0abee Mon Sep 17 00:00:00 2001 From: Alex Vanin Date: Thu, 14 Oct 2021 18:27:45 +0300 Subject: [PATCH] =?UTF-8?q?Release=20v2.10.0=20-=20Udo=20(=EC=9A=B0?= =?UTF-8?q?=EB=8F=84,=20=E7=89=9B=E5=B3=B6)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Alex Vanin --- CHANGELOG.md | 11 +++++++++++ proto-docs/acl.md | 1 + proto-docs/container.md | 6 ++++++ proto-docs/netmap.md | 27 +++++++++++++++++++++++++++ 4 files changed, 45 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3513989..e791cc7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,15 @@ # Changelog +## [2.10.0] - 2021-10-14 - Udo (우도, 牛島) + +NNS integration, detailed network info and ACL rules for non-native services. + +### Added +- ACL header type for services (#173) +- Side chain block duration and NeoFS network config fields in `NetworkInfo` + message (#172) +- Well-known container attributes for NNS integration (#177) + ## [2.9.1] - 2021-08-26 ### Changed @@ -399,3 +409,4 @@ Bump major release [2.8.0]: https://github.com/nspcc-dev/neofs-api/compare/v2.7.0...v2.8.0 [2.9.0]: https://github.com/nspcc-dev/neofs-api/compare/v2.8.0...v2.9.0 [2.9.1]: https://github.com/nspcc-dev/neofs-api/compare/v2.9.0...v2.9.1 +[2.10.0]: https://github.com/nspcc-dev/neofs-api/compare/v2.9.1...v2.10.0 diff --git a/proto-docs/acl.md b/proto-docs/acl.md index dc2375a..943dae4 100644 --- a/proto-docs/acl.md +++ b/proto-docs/acl.md @@ -188,6 +188,7 @@ Enumeration of possible sources of Headers to apply filters. | HEADER_UNSPECIFIED | 0 | Unspecified header, default value. | | REQUEST | 1 | Filter request headers | | OBJECT | 2 | Filter object headers | +| SERVICE | 3 | Filter service headers. These are not processed by NeoFS nodes and exist for service use only. | diff --git a/proto-docs/container.md b/proto-docs/container.md index 41d6521..dd99da0 100644 --- a/proto-docs/container.md +++ b/proto-docs/container.md @@ -549,6 +549,12 @@ There are some "well-known" attributes affecting system behaviour: * __NEOFS__SUBNET \ String ID of container's storage subnet. Container can be attached to only one subnet. +* __NEOFS__NAME \ + String of human-friendly container name registered as the domain in + NNS contract. +* __NEOFS__ZONE \ + String of zone for `__NEOFS__NAME`. Used as TLD of domain name in NNS + contract. If zone is not specified, use default zone: `container`. And some well-known attributes used by applications only: diff --git a/proto-docs/netmap.md b/proto-docs/netmap.md index 0a75dc4..8b8b6d3 100644 --- a/proto-docs/netmap.md +++ b/proto-docs/netmap.md @@ -22,6 +22,8 @@ - Messages - [Filter](#neo.fs.v2.netmap.Filter) + - [NetworkConfig](#neo.fs.v2.netmap.NetworkConfig) + - [NetworkConfig.Parameter](#neo.fs.v2.netmap.NetworkConfig.Parameter) - [NetworkInfo](#neo.fs.v2.netmap.NetworkInfo) - [NodeInfo](#neo.fs.v2.netmap.NodeInfo) - [NodeInfo.Attribute](#neo.fs.v2.netmap.NodeInfo.Attribute) @@ -197,6 +199,29 @@ results, that will satisfy filter's conditions. | filters | [Filter](#neo.fs.v2.netmap.Filter) | repeated | List of inner filters. Top level operation will be applied to the whole list. | + + +### Message NetworkConfig +NeoFS network configuration + + +| Field | Type | Label | Description | +| ----- | ---- | ----- | ----------- | +| parameters | [NetworkConfig.Parameter](#neo.fs.v2.netmap.NetworkConfig.Parameter) | repeated | List of parameter values. | + + + + +### Message NetworkConfig.Parameter +Single configuration parameter. + + +| Field | Type | Label | Description | +| ----- | ---- | ----- | ----------- | +| key | [bytes](#bytes) | | Parameter key. UTF-8 encoded string. | +| value | [bytes](#bytes) | | Parameter value. | + + ### Message NetworkInfo @@ -207,6 +232,8 @@ Information about NeoFS network | ----- | ---- | ----- | ----------- | | current_epoch | [uint64](#uint64) | | Number of the current epoch in the NeoFS network. | | magic_number | [uint64](#uint64) | | Magic number of the sidechain of the NeoFS network. | +| ms_per_block | [int64](#int64) | | MillisecondsPerBlock network parameter of the sidechain of the NeoFS network. | +| network_config | [NetworkConfig](#neo.fs.v2.netmap.NetworkConfig) | | NeoFS network configuration. |