| Summary: | [RFE] - Hammer command to list errata for a particular content-view | ||
|---|---|---|---|
| Product: | Red Hat Satellite | Reporter: | Nagoor Shaik <nshaik> |
| Component: | Hammer - Content | Assignee: | satellite6-bugs <satellite6-bugs> |
| Status: | CLOSED NOTABUG | QA Contact: | Katello QA List <katello-qa-list> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 6.2.0 | CC: | bbuckingham, mhulan, nshaik, tstrachota |
| Target Milestone: | Unspecified | ||
| Target Release: | Unused | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-11-02 02:19:06 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
Hi Nagoor, The following hammer cli should provide what you are looking for: erratum list --content-view-version-id 5 The above results in the following API call to the server: GET katello/api/errata?content_view_version_id=5 Based on this, we can probably close this request. Do you agree? |
[RFE] - Hammer command to list errata for a particular content-view Version-Release number of selected component (if applicable): tfm-rubygem-hammer_cli_katello-0.0.22.26-1.el7sat.noarch It would be really helpful, if we incorporate the below API query into the hammer commands. GET katello/api/errata?content_view_version_id=<ID> We don't have any additional options when running "hammer erratum" or "hammer content-view version" # hammer content-view version info --help Usage: hammer content-view version info [OPTIONS] Options: --content-view CONTENT_VIEW_NAME Content view name to search by --content-view-id CONTENT_VIEW_ID content view numeric identifier --environment ENVIRONMENT_NAME Name to search by --environment-id ENVIRONMENT_ID --id ID Content view version identifier --organization ORGANIZATION_NAME Organization name to search by --organization-id ORGANIZATION_ID organization ID --organization-label ORGANIZATION_LABEL Organization label to search by --version VERSION Content view version number -h, --help print help # hammer erratum --help Usage: hammer erratum [OPTIONS] SUBCOMMAND [ARG] ... Parameters: SUBCOMMAND subcommand [ARG] ... subcommand arguments Subcommands: info Show an erratum list List errata Options: -h, --help print help