dellemc-openmanage-ansible-modules icon indicating copy to clipboard operation
dellemc-openmanage-ansible-modules copied to clipboard

[FEATURE]: Change Chassis Name

Open TrevorSquillario opened this issue 2 years ago • 0 comments

This feature could be added to the ome_chassis_slots module. Add a name or chassis_name parameter to be used with chassis_service_tag. This requires a separate job to be submitted.

Job Payload example:

{
        "JobName": "Update Chassis Name",
        "JobDescription": "Job submitted via Ansible",
        "Schedule": "startnow",
        "State": "Enabled",
        "Targets": [
            {
            "Id": 10000,
            "Data": "",
            "TargetType": {
                "Id": 1000,
                "Name": "DEVICE"
                }
            }
        ],
        "Params": [
            {
            "Key": "operationName",
            "Value": "SET_NAME"
            },
            {
            "Key": "name",
            "Value": "MX7000-ChassisName"
            }
        ],
        "JobType":
            {
            "Id": 3,
            "Name": "DeviceAction_Task"
            }
    }

TrevorSquillario avatar Oct 27 '22 14:10 TrevorSquillario