Skip to content
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 option --optimize migrate-relay-sensors (9.0) #827

Merged

Conversation

timopollmeier
Copy link
Member

@timopollmeier timopollmeier commented Oct 24, 2019

If relays are active, this can be used to make sure all sensor type
scanners have a matching relay, i.e. OSP sensors have an OSP relay
and GMP scanners have an GMP relay.
GMP scanners are migrated to OSP sensors if an OSP relay is available.

Checklist:

If relays are active, this can be used to make sure all sensor type
scanners have a matching relay, i.e. OSP sensors have an OSP relay
and GMP scanners have an GMP relay.
GMP scanners are migrated to OSP sensors if an OSP relay is available.
@timopollmeier timopollmeier marked this pull request as ready for review October 24, 2019 10:13
Documentation comments for the functions get_relay_info_entity and
relay_supports_scanner_type was still missing.
Copy link
Contributor

@mattmundell mattmundell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Apart from the small format changes, it looks fine.

INSTALL.md Outdated Show resolved Hide resolved
src/manage.c Outdated Show resolved Hide resolved
src/manage.c Outdated Show resolved Hide resolved
src/manage_sql.c Show resolved Hide resolved
src/manage_sql.c Show resolved Hide resolved
src/manage_sql.c Show resolved Hide resolved
timopollmeier and others added 3 commits October 25, 2019 08:42
There should be no space before the increment operator.
The check in relay_supports_scanner_type if entity_text is non-NULL
and an "else" in get_relay_info_entity were not needed.
@mattmundell mattmundell merged commit 3ffe75e into greenbone:gvmd-9.0 Oct 25, 2019
@timopollmeier timopollmeier deleted the migrate-relay-sensors-9.0 branch June 9, 2020 06:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants