git.frostfs.info/TrueCloudLab/frostfs-sdk-go@v0.0.0-20241022124111-5361f0ecebd3/netmap/yml_tests/cbf_default.yml (about)

     1  name: default CBF is 3
     2  nodes:
     3    - attributes:
     4        - key: Location
     5          value: Europe
     6        - key: Country
     7          value: RU
     8        - key: City
     9          value: St.Petersburg
    10    - attributes:
    11        - key: Location
    12          value: Europe
    13        - key: Country
    14          value: RU
    15        - key: City
    16          value: Moscow
    17    - attributes:
    18        - key: Location
    19          value: Europe
    20        - key: Country
    21          value: DE
    22        - key: City
    23          value: Berlin
    24    - attributes:
    25        - key: Location
    26          value: Europe
    27        - key: Country
    28          value: FR
    29        - key: City
    30          value: Paris
    31  tests:
    32    set default CBF:
    33      policy:
    34        replicas:
    35          - count: 1
    36            selector: EU
    37        containerBackupFactor: 0
    38        selectors:
    39          - name: EU
    40            count: 1
    41            clause: SAME
    42            attribute: Location
    43            filter: '*'
    44        filters: []
    45      result:
    46        - - 0
    47          - 1
    48          - 2