ManageIQ / ManageIQ/linux_admin

[RFE] LinuxAdmin::Hosts API should support removal of hostnames and aliases

Open
#171 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement help wanted
Dominant language
Ruby
Stars
30
Forks
27
PR merge metrics
No merged PRs in 30d

Description

Currently LinuxAdmin::Hosts supports #add_alias and #set_canonical_hostname
It should also support #remove_alias #unset_canonical_hostname (method names TBD)

Also currently #set_canonical_hostname, by default, removes the hostname from
all addresses before setting it on only 1. Support to allow users to remove a hostname
from individual addresses but also to allow multiple addresses to be associated with
a single name

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the LinuxAdmin::Hosts implementation and its existing #add_alias and #set_canonical_hostname methods. Trace how hostnames are removed and assigned across addresses; done means the API supports removing aliases and canonical hostnames, removing a hostname from an individual address, and associating one name with multiple addresses.

Written by the indexing model from the issue text.

Assessment

Tech stack
ruby
Domain
operating-systems
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.