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

[PR #7318/fbebcbad backport][stable-7] Add LinkStatus to Ethernet Interface attribute list #7324

Conversation

patchback[bot]
Copy link

@patchback patchback bot commented Sep 28, 2023

This is a backport of PR #7318 as merged into main (fbebcba).

SUMMARY

Add LinkStatus attribute to Ethernet Interface description.
Fixes #7317

ISSUE TYPE
  • Feature Pull Request
COMPONENT NAME

redfish_utils

ADDITIONAL INFORMATION

Before:

    "redfish_facts": {                                                          
        "nic": {                       
            "entries": [                                                        
                [                                                               
                    {                  
                        "resource_uri": "/redfish/v1/Systems/1/"
                    },                                                          
                    [        
                        { 
                            "IPv4Addresses": [],
                            "IPv6Addresses": [],
                            "Id": "1",
                            "MACAddress": "ff:ff:ff:ff:ff:ff",
                            "Name": "",                                                                                                                         
                            "NameServers": [],                                                                                                                  
                            "SpeedMbps": null,
                            "Status": {                                                                                                                         
                                "Health": "OK",                                                                                                                 
                                "State": "Enabled"                                                                                                              
                            }
                        }
                  ]
                ]
            ],
            "ret": true
        }
    }

After:

    "redfish_facts": {                                                          
        "nic": {                       
            "entries": [                                                        
                [                                                               
                    {                  
                        "resource_uri": "/redfish/v1/Systems/1/"
                    },                                                          
                    [        
                        { 
                            "IPv4Addresses": [],
                            "IPv6Addresses": [],
                            "Id": "1",
                            "LinkStatus": "LinkUp",
                            "MACAddress": "ff:ff:ff:ff:ff:ff",
                            "Name": "",                                                                                                                         
                            "NameServers": [],                                                                                                                  
                            "SpeedMbps": null,
                            "Status": {                                                                                                                         
                                "Health": "OK",                                                                                                                 
                                "State": "Enabled"                                                                                                              
                            }
                        }
                  ]
                ]
            ],
            "ret": true
        }
    }

* Add LinkStatus to Ethernet Interface attribute list

* Add changelog fragment

---------

Co-authored-by: Pierre-yves FONTANIERE <[email protected]>
(cherry picked from commit fbebcba)
@ansibullbot
Copy link
Collaborator

@ansibullbot ansibullbot added backport feature This issue/PR relates to a feature request module_utils module_utils new_contributor Help guide this first time contributor plugins plugin (any type) labels Sep 28, 2023
@felixfontein felixfontein merged commit dcfd0f4 into stable-7 Sep 28, 2023
143 checks passed
@felixfontein felixfontein deleted the patchback/backports/stable-7/fbebcbada5ee2b0f6b3486ebab4a07c90dcc2ae3/pr-7318 branch September 28, 2023 19:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature This issue/PR relates to a feature request module_utils module_utils new_contributor Help guide this first time contributor plugins plugin (any type)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants