3 releases

0.1.2 Oct 24, 2023
0.1.1 Oct 24, 2023
0.1.0 Oct 24, 2023

#23 in #partition

Download history 1/week @ 2024-02-18 27/week @ 2024-02-25 6/week @ 2024-03-03 4/week @ 2024-03-10 47/week @ 2024-03-31

51 downloads per month

Custom license

23KB
494 lines

ufmclient

The rust client of UFM

Example

Set environment

export UFM_ADDRESS=$ufm_server_address
export UFM_TOKEN=$ufm_server_token

Version

./ufm version
6.11.1-2

Create a Partition Key

./ufm create --pkey 5 --mtu 2 --membership full --service-level 0 --rate-limit 2.5 --guids 0011223344560200 --guids 1070fd0300176625 --guids 0011223344560201

View a Partition Key

./ufm view --pkey 0x5
Name           : api_pkey_0x5
Pkey           : 0x5
IPoIB          : false
MTU            : 2
Rate Limit     : 2.5
Service Level  : 0
Ports          : 
    GUID                ParentGUID          PortType  SystemID            LID       SystemName     LogState  Name                
    0011223344560200    1070fd0300176624    virtual   1070fd0300176624    7         hpc-cloud01    Active                        
    1070fd0300176625                        physical  1070fd0300176624    4         hpc-cloud01    Active    1070fd0300176625_2  
    0011223344560201                                                      65535                    Unknown  

List Partition Keys

./ufm list
Name           Pkey      IPoIB     MTU       Rate      Level     
api_pkey_0x5   0x5       false     2         2.5       0         
api_pkey_0x2   0x2       false     2         2.5       0         
management     0x7fff    true      2         2.5       0         
api_pkey_0x1   0x1       false     2         2.5       0         
api_pkey_0x4   0x4       false     2         2.5       0  

Delete a Partition Key

./ufm delete --pkey 0x2

Dependencies

~13–25MB
~465K SLoC