This post is more than 5 years old
15 Posts
0
1963
October 21st, 2017 17:00
Difference between different status for network interface
The response from the following resource URL: /platform/3/network/interfaces?describe
has status in response with 4 possible values. I was wondering if anybody could mention what each of them mean exactly or point to a place where these are discussed in detail.
"status": {
"enum": [ "Up", "No Carrier", "Active", "Not Available" ],
"type": "string",
"description": "Status of the interface",
"required": true }
Thanks,
Aman
No Events found!



jepstein2
9 Posts
1
October 23rd, 2017 09:00
In papi (platform_api), these are tied to nic status as returned by the isi_net library. They are defined there as:
Up : up, valid, active
Active : valid, active
No Carrier : valid, not active
Not Available : none/no device
Not Available means no device found, it is literally defined as "none" in code
No Carrier basically means no Ethernet link, the card is not active if it does not have link.
Active is the opposite, the card is plugged in and has link and is ready
Up is a more specific version of Active, meaning it also has the Up flag, meaning it is administratively ready
sjones51
252 Posts
0
October 23rd, 2017 08:00
Hi Aman,
What version of OneFS are you working with?
I am not aware of any official documentation that describes the interface status, but UP/ACTIVE are the one ones that you want to see in ifconfig
UP means that the interface drivers are running
ACTIVE I believe means that the connection with the switch in terms of speed, media type, etc was successfully negotiated.
No Carrier means that the interface doesn't recognize any kind of cable (media carrier) plugged in.
I haven't seen Not Available before as a status. Possible theory: it either means a problem with the negotiation mentioned in ACTIVE or maybe something to do with an active/passive set up?