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

Improve old commands #498

Merged
merged 14 commits into from
Jul 23, 2024
Merged

Improve old commands #498

merged 14 commits into from
Jul 23, 2024

Conversation

helderbetiol
Copy link
Collaborator

Description

  • Removed getu, getslot and hc.
  • Refactor get to properly work with typed attributes and easily get attributes. Examples:
    To get the device under a rack that occupies the slot blade01 (contains blade01 in its slot list):
/Path/Rack> get * slot=blade01 

To get the device under a rack that occupies exclusively the slot blade01 (only blade01 in its slot list):

/Path/Rack> get * slot=[blade01] 

Fixes #445

Type of change

  • New feature (non-breaking change which adds functionality)

How Has This Been Tested?

  • Local test

@helderbetiol helderbetiol linked an issue Jul 18, 2024 that may be closed by this pull request
Copy link

sonarcloud bot commented Jul 22, 2024

@helderbetiol helderbetiol merged commit 60fa4fa into main Jul 23, 2024
10 checks passed
@helderbetiol helderbetiol deleted the chore445-refactor-old-cmds branch September 5, 2024 08:24
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.

Refactor old commands: getu, getslot, hc
1 participant