... | ... | @@ -72,54 +72,39 @@ def build_json_script(self): |
|
|
* Kea HAVE TO download and apply just configuration of specific tag
|
|
|
|
|
|
## Kea control commands:
|
|
|
All commands should be tested separately, target of a command can be DHCP or CA daemon, list of commands is available at: https://gitlab.isc.org/isc-projects/kea/wikis/designs/configuration-in-db-design
|
|
|
All commands for setting/updating configuration should be tested separately, target of a command can be DHCP or CA daemon, list of commands is available at: https://gitlab.isc.org/isc-projects/kea/wikis/designs/configuration-in-db-design
|
|
|
Current list:
|
|
|
1. remote-global-parameter4-del
|
|
|
1. remote-global-parameter4-get
|
|
|
1. remote-global-parameter4-get-all
|
|
|
1. remote-global-parameter4-set
|
|
|
1. remote-option4-global-del
|
|
|
1. remote-option4-global-get
|
|
|
1. remote-option4-global-get-all
|
|
|
1. remote-option4-global-set
|
|
|
1. remote-option-def4-del
|
|
|
1. remote-option-def4-get
|
|
|
1. remote-option-def4-get-all
|
|
|
1. remote-option-def4-set
|
|
|
1. remote-network4-del
|
|
|
1. remote-network4-get
|
|
|
1. remote-network4-list
|
|
|
1. remote-network4-set
|
|
|
1. remote-subnet4-del-id
|
|
|
1. remote-subnet4-del-prefix
|
|
|
1. remote-subnet4-get-id
|
|
|
1. remote-subnet4-get-prefix
|
|
|
1. remote-subnet4-list
|
|
|
1. remote-subnet4-set
|
|
|
|
|
|
|
|
|
===========================================Below not-up-to-date=============
|
|
|
* It MUST be possible to control whether config-get returns the configuration from the Kea config-file or retrieves appropriate configuration from the databases and merges it with the configuration in the config file.
|
|
|
|
|
|
* config-set MUST not overwrite the configuration in the config file if this config refers to the databases storing any part of the configuration. It MUST be possible to overwrite the configuration when explicitly requested via new parameter or another command.
|
|
|
- extend existing system tests
|
|
|
|
|
|
* config-set MUST allow for overwriting the configuration file, without affecting the configuration in the databases.
|
|
|
- extend existing system tests
|
|
|
|
|
|
* config-set MUST allow for overwriting the configuration stored in the databases (follow references to the databases from the configuration file).
|
|
|
- extend existing system tests
|
|
|
|
|
|
* all commands that refer to reconfiguration:
|
|
|
network4-add
|
|
|
network4-del
|
|
|
network4-get
|
|
|
network4-list
|
|
|
network4-subnet-add
|
|
|
network4-subnet-del
|
|
|
network6-add
|
|
|
network6-del
|
|
|
network6-get
|
|
|
network6-list
|
|
|
network6-subnet-add
|
|
|
network6-subnet-del
|
|
|
reservation-add
|
|
|
reservation-del
|
|
|
reservation-get
|
|
|
subnet4-add
|
|
|
subnet4-del
|
|
|
subnet4-get
|
|
|
subnet4-list
|
|
|
subnet6-add
|
|
|
subnet6-del
|
|
|
subnet6-get
|
|
|
subnet6-list
|
|
|
should be working with configured database.
|
|
|
- If Kea will use database configured in JSON file then:
|
|
|
- Existing system tests should be sufficient and report the same result as JSON only configuration
|
|
|
- else:
|
|
|
- Existing system tests MUST be extended with exact copy of them but with additional argument in used command.
|
|
|
|
|
|
## Forge extensions:
|
|
|
* ability to use kea daemon to upload configuration to MySQL, Postgres and Netconf (testing plan: https://gitlab.isc.org/isc-projects/kea/wikis/Test-Plans/NETCONF)
|
|
|
* ability to set default CB and ability to choose it from test level - multiple times
|
|
|
* repeat existing tests for each CB
|
|
|
* add tests for multiple CB and changes detection in DB
|
|
|
* future: extend forge to be able to create SQL commands to avoid using kea daemon for configuration. |
|
|
\ No newline at end of file |
|
|
|
|
|
## TODOs:
|
|
|
* I have idea how to use forge but Michał and me should have a talk how exactly test it
|
|
|
* divide work to small tasks, open tickets and list them here. |
|
|
\ No newline at end of file |