2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-29 21:18:02 +00:00

1739 Commits

Author SHA1 Message Date
Andrei Pavel
8e37580e59
[#3287] fix pycodestyle warnings
- E111 indentation is not a multiple of 4
- E117 over-indented
- E125 continuation line with same indent as next logical line
- E127 continuation line over-indented for visual indent
- E128 continuation line under-indented for visual indent
- E129 visually indented line with same indent as next logical line
- E131 continuation line unaligned for hanging indent
- E201 whitespace after '['
- E201 whitespace after '{'
- E202 whitespace before ')'
- E202 whitespace before ']'
- E202 whitespace before '}'
- E203 whitespace before '
- E203 whitespace before ','
- E222 multiple spaces after operator
- E225 missing whitespace around operator
- E228 missing whitespace around modulo operator
- E231 missing whitespace after ','
- E251 unexpected spaces around keyword / parameter equals
- E261 at least two spaces before inline comment
- E262 inline comment should start with '# '
- E265 block comment should start with '# '
- E301 expected 1 blank line, found 0
- E302 expected 2 blank lines, found 1
- E303 too many blank lines (2)
- E305 expected 2 blank lines after class or function definition, found 1
- E306 expected 1 blank line before a nested definition, found 0
- E401 multiple imports on one line
- E402 module level import not at top of file
- E501 line too long
- E502 the backslash is redundant between brackets
- E703 statement ends with a semicolon
- E713 test for membership should be 'not in'
- E722 do not use bare 'except'
- E741 ambiguous variable name 'l'
- W605 invalid escape sequence '\/'
2024-06-20 18:52:09 +03:00
Andrei Pavel
c0acd781c9
[#3287] fix bandit warnings 2024-06-20 18:52:09 +03:00
Razvan Becheriu
6f7d97c654 [#2914] extended documentation with for loops in scripts 2024-06-20 09:38:37 +00:00
Francis Dupont
1b8b3592da [#2878] Updated subnet-id section 2024-06-19 12:19:52 +00:00
Francis Dupont
286b0aeab8 [#2878] Improved note 2024-06-19 12:19:52 +00:00
Francis Dupont
d5dbaa4c07 [#2878] [#2878] Added the implicitly global note 2024-06-19 12:19:52 +00:00
Marcin Siodelski
a743174e37 [#3246] Add released state in ARM 2024-06-19 12:34:18 +02:00
Thomas Markwalder
5d86419105 [#3328] Addressed review comments
Revampe UTs
Replaced ave and average with mean throughout
2024-06-15 09:17:40 +02:00
Thomas Markwalder
da8046161d [#3328] More doc JSON fixes
And added missing api file

modified:   hooks-perfmon.rst
new file:   ../../../src/share/api/perfmon-get-all-durations.json
2024-06-15 09:17:39 +02:00
Thomas Markwalder
2045651627 [#3328] Corrected JOSN errors in doc
modified:   hooks-perfmon.rst
2024-06-15 09:17:39 +02:00
Thomas Markwalder
6f9989b6d2 [#3328] Doc updates
/doc/sphinx/api-files.txt
/src/share/api/api_files.mk
    Added new command files
        src/share/api/perfmon-control.json
        src/share/api/perfmon-get-all-durations.json

/doc/sphinx/arm/hooks-perfmon.rst
    Updated API section

/src/hooks/dhcp/perfmon/perfmon_mgr.cc
    Added "result-set-format" to get-all-durations results.
2024-06-15 09:17:39 +02:00
Thomas Markwalder
4889c3f9a3 [#3328] Output usecs; add permon-get-all-durations
Statistics and raw data return durations in microseconds instead
of milliseconds.  Add initial support for perfmon-get-all-durations.

/doc/sphinx/arm/hooks-perfmon.rst
    Updated to microseconds
    Updated perfmon-control command

/src/hooks/dhcp/perfmon/monitored_duration.*
    DurationKey::toElement()
    MonitoredDuration::toElement() - new functions

/src/hooks/dhcp/perfmon/perfmon_callouts.cc
    int perfmon_control()
    int perfmon_get_all_durations() - new functions

    int load() - register commands

/src/hooks/dhcp/perfmon/perfmon_config.cc
    PerfMonConfig::parse() - replace use of copy ctor

    PerfMonConfig::enable_monitoring_
    PerfMonConfig::stats_mgr_reporting_ - made std::atomic

/src/hooks/dhcp/perfmon/perfmon_messages.mes
    PERFMON_CMDS_CONTROL_ERROR
    PERFMON_CMDS_CONTROL_OK
    PERFMON_CMDS_GET_ALL_DURATIONS_ERROR
    PERFMON_CMDS_GET_ALL_DURATIONS_OK - new messages

/src/hooks/dhcp/perfmon/perfmon_mgr.cc
    PerfMonMgr::perfmonControlHandler()
    PerfMonMgr::perfmonGetAllDurationsHandler()
    PerfMonMgr::formatDurationDataAsElements()
    PerfMonMgr::formatDurationDataAsResultSet() - new functions

/src/hooks/dhcp/perfmon/tests/Makefile.am
    Added perfmon_cmds_unittests.cc

/src/hooks/dhcp/perfmon/tests/perfmon_config_unittests.cc
    Replaced use of copy ctor

/src/hooks/dhcp/perfmon/tests/perfmon_mgr_unittests.cc
    Updated tests for microseconds
2024-06-15 09:17:39 +02:00
Francis Dupont
a78fa738f0 [#3170] Addressed last comment 2024-06-11 19:42:55 +02:00
Francis Dupont
dce8f0d3f3 [#3170] Addressed comments 2024-06-11 16:35:08 +02:00
Francis Dupont
d51e070042 [#3170] Added missing blank line 2024-06-11 16:34:08 +02:00
Francis Dupont
0c210f551a [#3170] Updated doc and ChangeLog 2024-06-11 16:33:29 +02:00
Thomas Markwalder
9bbe6aa4dc [#2611] Updated ARM, added ChangeLog
/doc/sphinx/arm/ddns.rst
/doc/sphinx/arm/stats.rst
2024-06-07 14:55:57 +03:00
Andrei Pavel
37ff385e17
[#3431] release changes 2024-05-24 17:22:24 +03:00
Andrei Pavel
d86b086e8f
[#3302] update RADIUS documentation 2024-05-24 15:37:06 +03:00
Wlodzimierz Wencel
d34bcdcc15 [#3426] updated docs about extended-info4/6-upgrade commands 2024-05-24 10:24:07 +00:00
Wlodek Wencel
ed6a007cb7 [#3338] removed paragraph about old HA updates 2024-05-24 10:07:11 +00:00
Tomek Mrugalski
2a186739cf
[#3346] Updated python deps
- this addresses a security vuln reported in jinja, idna, requests
2024-05-24 11:10:01 +02:00
Tomek Mrugalski
e2cb83748b
[#3346] Addressed review changes:
- added references to leasequery hook
- changelog reworded
- typos fixed
- empty lines removed
2024-05-24 11:10:00 +02:00
Tomek Mrugalski
2b1895e0a4
[#3346] Corrected one link 2024-05-24 11:09:14 +02:00
Tomek Mrugalski
428d18ffee
[#3346] DNR config is now user-friendly 2024-05-24 11:08:45 +02:00
Tomek Mrugalski
07c824e899
[#3346] 10 more RFCs added to ARM 2024-05-24 11:08:45 +02:00
Tomek Mrugalski
236a6cdc5c
[#3346] 2 RFCs documented, syntax fix 2024-05-24 11:08:45 +02:00
Tomek Mrugalski
0c85c1e3b7
[#3346] 9 more RFCs added to the list 2024-05-24 11:08:45 +02:00
Tomek Mrugalski
55b5b72ae5
[#3346] Several RFCs added 2024-05-24 11:08:45 +02:00
Tomek Mrugalski
b42aebb4f4
[#3346] Removed obsolete sentence 2024-05-24 11:08:45 +02:00
Tomek Mrugalski
2dfb0ac125
[#3346] Added missing RFC references 2024-05-24 11:08:45 +02:00
Wlodzimierz Wencel
d2ca687d78 [#3379] added instructions about new kea repositories 2024-05-24 08:13:35 +00:00
Marcin Godzina
228e848be3 [#3427] deprecate warning for lease wipe 2024-05-24 07:38:03 +00:00
Razvan Becheriu
77195c41c8 [#3301] addressed comments 2024-05-23 21:38:09 +03:00
Razvan Becheriu
2cbf76f496 [#3301] updated yang modules 2024-05-23 21:24:13 +03:00
Razvan Becheriu
c2f9cc6051 [#2960] removed useless try catch 2024-05-23 17:08:44 +03:00
Razvan Becheriu
6d10d6424e [#2960] removed deprecated libreload command 2024-05-23 17:08:16 +03:00
Tomek Mrugalski
6f66da2371
[#3340] Changes after review:
- prefix IPv6 Lease => IPv6 prefix lease
 - removed extra comma
 - added a note that subnet-id is optional
2024-05-23 15:44:53 +02:00
Tomek Mrugalski
c3fc260417
[#3340] rst syntax fixed 2024-05-23 15:44:25 +02:00
Tomek Mrugalski
9e45480322
[#3340] ARM for lease6-del updated 2024-05-23 15:44:25 +02:00
Slawek Figiel
424dc60d8e [#2773] Move a paragraph 2024-05-23 14:18:15 +02:00
Andrei Pavel
561539d4c5 [#2773] Apply 2 suggestions to 2 files 2024-05-23 14:18:15 +02:00
Slawek Figiel
808f97e13d [#2773] Update DB creation for Postgres 15+ 2024-05-23 14:17:45 +02:00
Marcin Godzina
7e36a43ec1 [#3290] docs - ha-scopes warning 2024-05-23 11:19:52 +00:00
Razvan Becheriu
53f571b5ad [#2959] addressed comments 2024-05-22 22:15:00 +03:00
Razvan Becheriu
6671e30bc6 [#2959] addressed comments 2024-05-22 21:54:28 +03:00
Razvan Becheriu
23f7d80c41 [#2959] removed deprecated parameter reservation-mode 2024-05-22 21:37:12 +03:00
Razvan Becheriu
d149028d61 [#2958] removed deprecated dhcp-ddns parameters 2024-05-22 19:04:53 +03:00
Slawek Figiel
f40b537fdd [#3021] Add link to the code-signing keys 2024-05-22 17:20:33 +02:00
Slawek Figiel
5ecc3cbf36 [#3021] Add docs section 2024-05-22 17:20:08 +02:00