-
Notifications
You must be signed in to change notification settings - Fork 343
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
Feature: tools: List common fencing resource instance attributes via crm_resource #3399
Merged
Merged
Changes from 1 commit
Commits
Show all changes
58 commits
Select commit
Hold shift + click to select a range
e8cfc51
Doc: libcrmcommon: Drop duplicate log level doxygen from header file
nrwahl2 9833e93
Refactor: libcrmcommon: New pcmk__output_fencing_params()
nrwahl2 75d9578
Refactor: libcrmcommon: New pcmk__opt_fencing enum value
nrwahl2 0389fc4
Refactor: libcrmcommon, fencer: Use pcmk__daemon_metadata() for fencer
nrwahl2 7e95742
Doc: libcrmcommon: Mark pcmk__opt_DAEMON flags as deprecated
nrwahl2 351d5f8
Refactor: libpacemaker: New pcmk__list_fencing_params()
nrwahl2 d4774a9
API: libpacemaker: New pcmk_list_fencing_params()
nrwahl2 5c8409a
Low: schemas: Copy schema in preparation for changes
nrwahl2 31b3c36
API: schemas: Allow options in crm_resource output
nrwahl2 6a354ba
Feature: crm_resource: New --list-options=fencing option
nrwahl2 5f8d616
Test: cts-cli: Add tests for crm_resource --list-options=fencing
nrwahl2 3a3fb6b
Test: cts-cli: Reorder a couple of crm_attribute --list-options tests
nrwahl2 1d4afa6
API: fencer: Deprecate metadata CLI option
nrwahl2 a241b47
Refactor: libcrmcommon: Declare options arrays as const
nrwahl2 72bac9d
Refactor: libcrmcommon: Use PCMK_VALUE_INTEGER as option type
nrwahl2 cca9624
Refactor: libcrmcommon: Use PCMK_VALUE_STRING as option type
nrwahl2 3c89c5a
API: libcrmcommon: New PCMK_VALUE_BOOLEAN string constant
nrwahl2 14d1035
Refactor: libcrmcommon: Use PCMK_VALUE_BOOLEAN as option type
nrwahl2 ea18d15
API: libcrmcommon: New PCMK_VALUE_SELECT string constant
nrwahl2 5c0a6ea
Refactor: libcrmcommon: Use PCMK_VALUE_SELECT as option type
nrwahl2 3eda445
API: libcrmcommon: New PCMK_VALUE_PERCENTAGE string constant
nrwahl2 ed7706c
Refactor: libcrmcommon: Use PCMK_VALUE_PERCENTAGE as option type
nrwahl2 2d4eaf4
Low: schemas: Copy API schemas in preparation for changes
nrwahl2 0402bd4
Feature: schemas: Allow more types in options API schema
nrwahl2 cf73948
API: libcrmcommon: New PCMK_VALUE_DURATION string constant
nrwahl2 bb447f8
Refactor: libcrmcommon: Use PCMK_VALUE_DURATION as option type
nrwahl2 beb26cd
Test: cts-cli: Update tests for PCMK_VALUE_DURATION as option type
nrwahl2 a98a0ee
API: libcrmcommon: New PCMK_VALUE_NONNEGATIVE_INTEGER string constant
nrwahl2 98bf79e
Refactor: libcrmcommon: Use PCMK_VALUE_NONNEGATIVE_INTEGER as opt type
nrwahl2 94e7f93
Test: cts-cli: Update tests for use of PCMK_VALUE_NONNEGATIVE_INTEGER
nrwahl2 0134659
API: libcrmcommon: New PCMK_VALUE_SCORE string constant
nrwahl2 6b0ca5f
Low: libcrmcommon: Use PCMK_VALUE_SCORE as option type
nrwahl2 fdbb8e3
Test: cts-cli: Update tests for PCMK_VALUE_SCORE as option type
nrwahl2 5156ca6
API: libcrmcommon: New PCMK_VALUE_TIMEOUT string constant
nrwahl2 c965fe2
Refactor: libcrmcommon: Use PCMK_VALUE_TIMEOUT as option type
nrwahl2 b15d8d2
Test: cts-cli: Update for PCMK_VALUE_TIMEOUT as option type
nrwahl2 b5e291d
Refactor: libcrmcommon: Use PCMK_VALUE_VERSION as option type
nrwahl2 904eb3a
Test: cts-cli: Update tests for PCMK_VALUE_VERSION as option type
nrwahl2 0edaa13
Doc: Pacemaker Explained: pcmk_delay_base is a text option
nrwahl2 8db4f2a
API: libcrmcommon: New PCMK_VALUE_DYNAMIC_LIST string constant
nrwahl2 834fd59
API: libcrmcommon: New PCMK_VALUE_STATIC_LIST string constant
nrwahl2 52fd4b5
API: libcrmcommon: New PCMK_VALUE_STATUS string constant
nrwahl2 534e1c3
API: libcrmcommon: New PCMK_ROLE_STOPPED string constant
nrwahl2 c486999
API: libcrmcommon: New PCMK_ROLE_STARTED string constant
nrwahl2 e595495
API: libcrmcommon: New PCMK_ROLE_UNPROMOTED string constant
nrwahl2 89b8f20
API: libcrmcommon: New PCMK_ROLE_PROMOTED string constant
nrwahl2 c53719b
API: libcrmcommon: New PCMK_VALUE_STOP_ONLY string constant
nrwahl2 503e36a
API: libcrmcommon: New PCMK_VALUE_STOP_START string constant
nrwahl2 1e8b6aa
API: libcrmcommon: New PCMK_VALUE_STOP_UNEXPECTED string constant
nrwahl2 3687074
API: libcrmcommon: New PCMK_VALUE_PORT string constant
nrwahl2 1ea50d5
Refactor: libcrmcommon: New pcmk__output_primitive_meta()
nrwahl2 a0ea432
Refactor: libpacemaker: New pcmk__list_primitive_meta()
nrwahl2 52c76d7
API: libpacemaker: New pcmk_list_primitive_meta()
nrwahl2 9108504
Refactor: libcrmcommon: New pcmk__opt_primitive enum value
nrwahl2 7c8e051
Feature: tools: New crm_resource --list-options=primitive option
nrwahl2 037e08c
Test: cts-cli: Add tests for crm_resource --list-options=primitive
nrwahl2 613ef38
Doc: Pacemaker Explained: Minor primitive meta-attribute fixes
nrwahl2 6056905
Refactor: libcrmcommon: Drop pcmk__valid_script()
nrwahl2 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
API: libcrmcommon: New PCMK_ROLE_STARTED string constant
Signed-off-by: Reid Wahl <nrwahl@protonmail.com>
- Loading branch information
commit c4869999bc10483cccfa3414bccd7a867d775e3c
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I left these internal since external code can use
pcmk_role_text(v)
to get them. However they can be used in the CIB, so I suppose this makes sense.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That was my thinking. It's not required -- we could rely on
pcmk_role_text()
, and use literal strings in the option metadata -- but this has been our usual approach for strings used in the CIB.What I really dislike is having these string constants split across public and internal header files. But I don't want to expose unknown and the legacy ones.