API Guide

Receive Fabric Discovery Request (FDISC) from an end point
Consider the NPG switch with:
two FC uplinks (fc 1/1/1 and fc 1/1/2) of different speed (8 G and 16 G)
two ports (eth 1/1/54, eth 1/1/55) connecting the FCoE end points
Each end point has one session that is associated with it. The NPG switch maps one session to each FC uplink to balance the
system.
Consider the end point connected to eth 1/1/55 establishes four more Fabric Discovery Sessions (FDISC). The FDISC sessions
are mapped to the same FC uplink, which has the FLOGI of the end point (fc 1/1/1) and the system moves to an unbalanced
state.
When you issue the manual rebalance command, the system redistributes the sessions and the uplink 1/1/1 has one session from
one of the end points. The remaining five sessions from the other end points are mapped to fc 1/1/2.
This makes the system better where in the link with the maximum speed holds more sessions than the link with minimum speed.
Equivalent RESTCONF request for the rebalancing CLIs
The following table lists the equivalent RESTConf request for the rebalancing CLI commands:
Table 53. RESTConf request
CLI Command RESTConf Request
REST-TRANSLATE-OS10#
re-balance npg
sessions vfabric 2
re-balance npg sessions vfabric 2 curl -i -k -H "Accept: application/json" -H "Content-Type:
application/json" -u $USER_NAME:$PASSWORD -d
'{"input":{"vfabric-id":2,"command-
type":"ACTUAL_REBALANCE"}}' -X POST https://
$MGMT_IP/restconf/operations/dell-fc-services:npg-
rebalance
REST-TRANSLATE-OS10#
re-balance npg
sessions vfabric 2
dry-run
re-balance npg sessions vfabric 2
dry-run
curl -i -k -H "Accept: application/json" -H "Content-Type:
application/json" -u $USER_NAME:$PASSWORD -d
'{"input":{"vfabric-id":2,"command-type":"DRY_RUN"}}' -X
POST https://$MGMT_IP/restconf/operations/dell-fc-
services:npg-rebalance
REST-TRANSLATE-OS10#
re-balance npg
sessions vfabric 2
dry-run brief
re-balance npg sessions vfabric 2
dry-run brief
curl -i -k -H "Accept: application/json" -H "Content-Type:
application/json" -u $USER_NAME:$PASSWORD -d
'{"input":{"vfabric-id":2,"command-
type":"DRY_RUN_BRIEF"}}' -X POST https://
$MGMT_IP/restconf/operations/dell-fc-services:npg-
rebalance
REST-TRANSLATE-OS10#
show npg re-balance-
statistics uplink-
interface
show npg re-balance-statistics
uplink-interface
curl -i -k -H "Accept: application/json" -u
$USER_NAME:$PASSWORD -X GET https://$MGMT_IP/
restconf/data/dell-fc-services:npg-re-balance/uplink-intf-
stats
REST-TRANSLATE-OS10#
show npg re-balance-
statistics node-
interface
show npg re-balance-statistics
node-interface
curl -i -k -H "Accept: application/json" -u
$USER_NAME:$PASSWORD -X GET https://$MGMT_IP/
restconf/data/dell-fc-services:npg-re-balance/node-intf-
stats
F_Port commands
The following commands are supported on F_Port mode:
Fibre Channel
371