git.frostfs.info/TrueCloudLab/frostfs-sdk-go@v0.0.0-20241022124111-5361f0ecebd3/netmap/yml_tests/hrw_sort.yml (about) 1 name: HRW ordering 2 nodes: 3 - attributes: 4 - key: Country 5 value: Germany 6 - key: Price 7 value: '2' 8 - key: Capacity 9 value: '10000' 10 - attributes: 11 - key: Country 12 value: Germany 13 - key: Price 14 value: '4' 15 - key: Capacity 16 value: '1' 17 - attributes: 18 - key: Country 19 value: France 20 - key: Price 21 value: '3' 22 - key: Capacity 23 value: '10' 24 - attributes: 25 - key: Country 26 value: Russia 27 - key: Price 28 value: '2' 29 - key: Capacity 30 value: '10000' 31 - attributes: 32 - key: Country 33 value: Russia 34 - key: Price 35 value: '1' 36 - key: Capacity 37 value: '10000' 38 - attributes: 39 - key: Country 40 value: Russia 41 - key: Capacity 42 value: '10000' 43 - attributes: 44 - key: Country 45 value: France 46 - key: Price 47 value: '100' 48 - key: Capacity 49 value: '1' 50 - attributes: 51 - key: Country 52 value: France 53 - key: Price 54 value: '7' 55 - key: Capacity 56 value: '10000' 57 - attributes: 58 - key: Country 59 value: Russia 60 - key: Price 61 value: '2' 62 - key: Capacity 63 value: '1' 64 tests: 65 select 3 nodes in 3 distinct countries, same placement: 66 policy: 67 replicas: 68 - count: 1 69 selector: Main 70 containerBackupFactor: 1 71 selectors: 72 - name: Main 73 count: 3 74 clause: DISTINCT 75 attribute: Country 76 filter: '*' 77 filters: [] 78 pivot: Y29udGFpbmVySUQ= 79 result: 80 - - 5 81 - 0 82 - 7 83 placement: 84 pivot: b2JqZWN0SUQ= 85 result: 86 - - 5 87 - 0 88 - 7 89 select 6 nodes in 3 distinct countries, different placement: 90 policy: 91 replicas: 92 - count: 1 93 selector: Main 94 containerBackupFactor: 2 95 selectors: 96 - name: Main 97 count: 3 98 clause: DISTINCT 99 attribute: Country 100 filter: '*' 101 filters: [] 102 pivot: Y29udGFpbmVySUQ= 103 result: 104 - - 5 105 - 4 106 - 0 107 - 1 108 - 7 109 - 2 110 placement: 111 pivot: b2JqZWN0SUQ= 112 result: 113 - - 5 114 - 4 115 - 0 116 - 7 117 - 2 118 - 1