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 domain_id parameter to interfaces_attribute map #184

Open
mackill54 opened this issue Aug 21, 2024 · 0 comments
Open

Add domain_id parameter to interfaces_attribute map #184

mackill54 opened this issue Aug 21, 2024 · 0 comments

Comments

@mackill54
Copy link

Add domain_id to

           ifaceMap := map[string]interface{}{
                    "id":           val.Id,
                    "ip":           val.IP,
                    "mac":          val.MAC,
                    "name":         val.Name,
                    "subnet_id":    val.SubnetId,
                    "primary":      val.Primary,
                    "managed":      val.Managed,
                    "identifier":   val.Identifier,
                    "provision":    val.Provision,
                    "virtual":      val.Virtual,
                    "type":         val.Type,
                    "bmc_provider": val.Provider,
                    "username":     val.Username,
                    "password":     val.Password,

                    "attached_devices": val.AttachedDevices,
                    "attached_to":      val.AttachedTo,
            }

Foreman Satellite cli ( hammer ) allowed attach domain_id to specifed interface
( it can be consume by Foreaman DNS proxy )

https://github.com/theforeman/hammer-cli-foreman/blob/master/doc/host_create.md#common-interface-settings

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

No branches or pull requests

1 participant