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

     1  name: multiple replicas (#215)
     2  nodes:
     3    - attributes:
     4        - key: City
     5          value: Saint-Petersburg
     6    - attributes:
     7        - key: City
     8          value: Moscow
     9    - attributes:
    10        - key: City
    11          value: Berlin
    12    - attributes:
    13        - key: City
    14          value: Paris
    15  tests:
    16    test:
    17      policy:
    18        replicas:
    19          - count: 1
    20            selector: LOC_SPB_PLACE
    21          - count: 1
    22            selector: LOC_MSK_PLACE
    23        containerBackupFactor: 1
    24        selectors:
    25          - name: LOC_SPB_PLACE
    26            count: 1
    27            clause: CLAUSE_UNSPECIFIED
    28            filter: LOC_SPB
    29          - name: LOC_MSK_PLACE
    30            count: 1
    31            clause: CLAUSE_UNSPECIFIED
    32            filter: LOC_MSK
    33        filters:
    34          - name: LOC_SPB
    35            key: City
    36            op: EQ
    37            value: Saint-Petersburg
    38            filters: []
    39          - name: LOC_MSK
    40            key: City
    41            op: EQ
    42            value: Moscow
    43            filters: []
    44      result:
    45        - - 0
    46        - - 1