Skip to content

redfishpower: add -x,--exclude-plugs option #175

@garlick

Description

@garlick

Problem: it's kind of janky to have to make up hostname placeholders like unused[0-7] for unused blade slots in the cray-ex chassis.

I can't remember if we discussed this before and decided against it, but would it make sense to have a redfishpower -x,--exclude-plugs option so those placeholders would not be needed? For example if Blade[4-7] are unpopulated thus Node[8-15] do not require host mappings, instead of:

device "chassis0" "cray-ex" "/usr/sbin/redfishpower -h cmm0,pnode[0-7],unused[0-7] |&"

you could do:

device "chassis0" "cray-ex" "/usr/sbin/redfishpower -x Node[8-15] -h cmm0,pnode[0-7]|&"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions