-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add administation module for subnetworks #979
Labels
Milestone
Comments
cthulhu-rider
added
enhancement
Improving existing functionality
neofs-adm
NeoFS Adm application issues
labels
Nov 17, 2021
Closed
Besides control of subnet contract, neofs-adm utility should deploy this contract at |
cthulhu-rider
pushed a commit
to cthulhu-rider/neofs-node
that referenced
this issue
Nov 28, 2021
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
cthulhu-rider
pushed a commit
to cthulhu-rider/neofs-node
that referenced
this issue
Nov 28, 2021
Add `subnet` command which contains all subnet-related commands. Add `create` sub-command for subnet creation. Add `remove` sub-command for subnet removal. Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
cthulhu-rider
pushed a commit
to cthulhu-rider/neofs-node
that referenced
this issue
Nov 29, 2021
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
cthulhu-rider
pushed a commit
to cthulhu-rider/neofs-node
that referenced
this issue
Nov 29, 2021
Add `subnet` command which contains all subnet-related commands. Add `create` sub-command for subnet creation. Add `remove` sub-command for subnet removal. Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
cthulhu-rider
pushed a commit
to cthulhu-rider/neofs-node
that referenced
this issue
Nov 29, 2021
Make `nnsResolveHash` function to return declared error if NNS record is missing. Catch this error in `deployContracts` method, and switch to deployment if updating contract is missing. Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
cthulhu-rider
pushed a commit
to cthulhu-rider/neofs-node
that referenced
this issue
Nov 29, 2021
Make `nnsResolveHash` function to return declared error on `token not found` fault exception. Catch this error in `deployContracts` method, and switch to deployment if updating contract is missing. Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
cthulhu-rider
pushed a commit
to cthulhu-rider/neofs-node
that referenced
this issue
Nov 29, 2021
Make `deployContracts` method to call `nnsRegisterDomain` in order to register NNS domain for deployed contracts. Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
cthulhu-rider
pushed a commit
to cthulhu-rider/neofs-node
that referenced
this issue
Nov 29, 2021
Make `deployContracts` method to call `nnsRegisterDomain` in order to register NNS domain for deployed contracts. Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
cthulhu-rider
pushed a commit
to cthulhu-rider/neofs-node
that referenced
this issue
Nov 29, 2021
Make `deployContracts` method to call `nnsRegisterDomain` in order to register NNS domain for deployed contracts. Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
cthulhu-rider
pushed a commit
to cthulhu-rider/neofs-node
that referenced
this issue
Nov 29, 2021
Make `deployContracts` method to call `nnsRegisterDomain` in order to register NNS domain for deployed contracts. Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
cthulhu-rider
pushed a commit
to cthulhu-rider/neofs-node
that referenced
this issue
Nov 29, 2021
Make `deployContracts` method to call `nnsRegisterDomain` in order to register NNS domain for deployed contracts. Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
cthulhu-rider
pushed a commit
to cthulhu-rider/neofs-node
that referenced
this issue
Nov 29, 2021
Add `subnet` command which contains all subnet-related commands. Add sub-commands: * `create` for creation; * `remove` for removal; * `get` for reading; * `admin` for admin management; * `client` for client management. Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
cthulhu-rider
pushed a commit
to cthulhu-rider/neofs-node
that referenced
this issue
Nov 29, 2021
Make `nnsResolveHash` function to return declared error on `token not found` fault exception. Catch this error in `deployContracts` method, and switch to deployment if updating contract is missing. Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
cthulhu-rider
pushed a commit
to cthulhu-rider/neofs-node
that referenced
this issue
Nov 29, 2021
Make `deployContracts` method to call `nnsRegisterDomain` in order to register NNS domain for deployed contracts. Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
cthulhu-rider
pushed a commit
to cthulhu-rider/neofs-node
that referenced
this issue
Nov 29, 2021
Add `subnet` command which contains all subnet-related commands. Add sub-commands: * `create` for creation; * `remove` for removal; * `get` for reading; * `admin` for admin management; * `client` for client management. Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
cthulhu-rider
pushed a commit
to cthulhu-rider/neofs-node
that referenced
this issue
Nov 29, 2021
Make `nnsResolveHash` function to return declared error on `token not found` fault exception. Catch this error in `deployContracts` method, and switch to deployment if updating contract is missing. Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
cthulhu-rider
pushed a commit
to cthulhu-rider/neofs-node
that referenced
this issue
Nov 29, 2021
Make `deployContracts` method to call `nnsRegisterDomain` in order to register NNS domain for deployed contracts. Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
cthulhu-rider
pushed a commit
to cthulhu-rider/neofs-node
that referenced
this issue
Nov 29, 2021
Add `subnet` command which contains all subnet-related commands. Add sub-commands: * `create` for creation; * `remove` for removal; * `get` for reading; * `admin` for admin management; * `client` for client management. Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
cthulhu-rider
pushed a commit
to cthulhu-rider/neofs-node
that referenced
this issue
Nov 29, 2021
Make `nnsResolveHash` function to return declared error on `token not found` fault exception. Catch this error in `deployContracts` method, and switch to deployment if updating contract is missing. Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
cthulhu-rider
pushed a commit
to cthulhu-rider/neofs-node
that referenced
this issue
Nov 29, 2021
Make `deployContracts` method to call `nnsRegisterDomain` in order to register NNS domain for deployed contracts. Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
cthulhu-rider
pushed a commit
to cthulhu-rider/neofs-node
that referenced
this issue
Nov 30, 2021
Make `Client.EnableNotarySupport` method to call `NNSContractAddress` for proxy contract if it is not specified in corresponding option. Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
cthulhu-rider
pushed a commit
to cthulhu-rider/neofs-node
that referenced
this issue
Nov 30, 2021
Use persistent flags on parent command in order to inherit flags in sub-commands. Turn on notary mode of morph client in `subnet` command of admin utility for notary environments. Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
cthulhu-rider
pushed a commit
to cthulhu-rider/neofs-node
that referenced
this issue
Nov 30, 2021
Make `Client.EnableNotarySupport` method to call `NNSContractAddress` for proxy contract if it is not specified in corresponding option. Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
cthulhu-rider
pushed a commit
that referenced
this issue
Dec 1, 2021
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
cthulhu-rider
pushed a commit
that referenced
this issue
Dec 1, 2021
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
cthulhu-rider
pushed a commit
that referenced
this issue
Dec 1, 2021
cthulhu-rider
pushed a commit
that referenced
this issue
Dec 1, 2021
cthulhu-rider
pushed a commit
that referenced
this issue
Dec 1, 2021
cthulhu-rider
pushed a commit
that referenced
this issue
Dec 1, 2021
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
cthulhu-rider
pushed a commit
to cthulhu-rider/neofs-node
that referenced
this issue
Dec 1, 2021
…event Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
cthulhu-rider
pushed a commit
to cthulhu-rider/neofs-node
that referenced
this issue
Dec 1, 2021
…event Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
cthulhu-rider
pushed a commit
to cthulhu-rider/neofs-node
that referenced
this issue
Dec 1, 2021
…event Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
cthulhu-rider
pushed a commit
that referenced
this issue
Dec 1, 2021
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
aprasolova
pushed a commit
to aprasolova/neofs-node
that referenced
this issue
Mar 5, 2022
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
aprasolova
pushed a commit
to aprasolova/neofs-node
that referenced
this issue
Mar 5, 2022
Add `subnet` command which contains all subnet-related commands. Add sub-commands: * `create` for creation; * `remove` for removal; * `get` for reading; * `admin` for admin management; * `client` for client management. Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
aprasolova
pushed a commit
to aprasolova/neofs-node
that referenced
this issue
Mar 5, 2022
Make `nnsResolveHash` function to return declared error on `token not found` fault exception. Catch this error in `deployContracts` method, and switch to deployment if updating contract is missing. Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
aprasolova
pushed a commit
to aprasolova/neofs-node
that referenced
this issue
Mar 5, 2022
Make `deployContracts` method to call `nnsRegisterDomain` in order to register NNS domain for deployed contracts. Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
aprasolova
pushed a commit
to aprasolova/neofs-node
that referenced
this issue
Mar 5, 2022
Make `Client.EnableNotarySupport` method to call `NNSContractAddress` for proxy contract if it is not specified in corresponding option. Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
aprasolova
pushed a commit
to aprasolova/neofs-node
that referenced
this issue
Mar 5, 2022
Use persistent flags on parent command in order to inherit flags in sub-commands. Turn on notary mode of morph client in `subnet` command of admin utility for notary environments. Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
aprasolova
pushed a commit
to aprasolova/neofs-node
that referenced
this issue
Mar 5, 2022
…ndVUB Make `CalculateNonceAndVUB` to return zero values if notary isn't enabled. Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
aprasolova
pushed a commit
to aprasolova/neofs-node
that referenced
this issue
Mar 5, 2022
Notary event name equals to the name of the method which throws the event. Define name const of notary subnet creation. Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
aprasolova
pushed a commit
to aprasolova/neofs-node
that referenced
this issue
Mar 5, 2022
…ient `initSubnetClient` must call `EnableNotarySupport` only if non-notary flag is not set. Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
aprasolova
pushed a commit
to aprasolova/neofs-node
that referenced
this issue
Mar 5, 2022
Cobra commands don't call `PreRun` functions on parent by default. We need to do it in `subnet` command of admin utility in order to inherit viper bindings. Add `inheritPreRun` function which makes sub-commands to call `PreRun` functions before its own `PreRun`. Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
aprasolova
pushed a commit
to aprasolova/neofs-node
that referenced
this issue
Mar 5, 2022
Implement `ManageNodes` operation on morph subnet client. Add `node add` and `node remove` commands to `subnet` section. Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
aprasolova
pushed a commit
to aprasolova/neofs-node
that referenced
this issue
Mar 5, 2022
Only `subnet create` command can generate notary requests. Remove global `non-notary` flag. Add `notary` flag to `create` cmd. Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
aprasolova
pushed a commit
to aprasolova/neofs-node
that referenced
this issue
Mar 5, 2022
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
aprasolova
pushed a commit
to aprasolova/neofs-node
that referenced
this issue
Mar 5, 2022
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
aprasolova
pushed a commit
to aprasolova/neofs-node
that referenced
this issue
Mar 5, 2022
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
aprasolova
pushed a commit
to aprasolova/neofs-node
that referenced
this issue
Mar 5, 2022
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
aprasolova
pushed a commit
to aprasolova/neofs-node
that referenced
this issue
Mar 5, 2022
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
aprasolova
pushed a commit
to aprasolova/neofs-node
that referenced
this issue
Mar 5, 2022
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
aprasolova
pushed a commit
to aprasolova/neofs-node
that referenced
this issue
Mar 5, 2022
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
aprasolova
pushed a commit
to aprasolova/neofs-node
that referenced
this issue
Mar 5, 2022
…event Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Summary
Subnet
contract of NeoFS sidechain provides the functionality to create, manage and remove NeoFS subnetworks. We need to provide convenient functionality which allows to do it from admin utility.Task
subnet
module (cobra.Command
).create
sub-command which creates new subnetwork using a private key. ID is generated randomly. It'd nice to provide same await approach asneofs-cli container create
.remove
sub-command which removes subnetwork by ID using a private key. It'd nice to provide same await approach asneofs-cli container delete
.The text was updated successfully, but these errors were encountered: