Пример #1
0
    class Meta:
        identifier = ScopedId("path")

        relations = [
            relations.Provide(provide_to=resources.DeviceNode, attributes=["host_id", "path"]),
            relations.Subscribe(subscribe_to=Lun, attributes=["lun_id"]),
        ]
Пример #2
0
 class Meta:
     identifier = ScopedId('lun_id', 'host_id')
     relations = [
         relations.Provide(provide_to=resources.DeviceNode,
                           attributes=['host_id', 'path']),
         relations.Subscribe(subscribe_to=Lun, attributes=['lun_id'])
     ]
Пример #3
0
 class Meta:
     identifier = ScopedId('serial')
     charts = [
             {
             'title': "Bandwidth",
             'series': ['read_bytes_sec', 'write_bytes_sec']
         }
     ]
 class Meta:
     identifier = ScopedId('lun_id')
     charts = [
             {
             'title': "Bandwidth",
             'series': ['read_bytes_sec', 'write_bytes_sec']
         },
             {
             'title': "Latency distribution",
             'series': ['write_latency_hist']
         }
     ]
Пример #5
0
 class Meta:
     identifier = ScopedId("host_id", "name")
Пример #6
0
 class Meta:
     identifier = ScopedId("name")
     charts = [{"title": "Bandwidth", "series": ["rx_bytes", "tx_bytes"]}]
 class Meta:
     identifier = ScopedId('host_id', 'name')
 class Meta:
     identifier = ScopedId("local_id")
 class Meta:
     identifier = ScopedId("index")
 class Meta:
     identifier = ScopedId("path")
Пример #11
0
 class Meta:
     identifier = ScopedId('local_id')
Пример #12
0
 class Meta:
     identifier = ScopedId("address")
Пример #13
0
 class Meta:
     identifier = ScopedId("lun_id")
     charts = [
         {"title": "Bandwidth", "series": ["read_bytes_sec", "write_bytes_sec"]},
         {"title": "Latency distribution", "series": ["write_latency_hist"]},
     ]
 class Meta:
     identifier = ScopedId('address')
 class Meta:
     identifier = ScopedId("serial")
     charts = [{
         "title": "Bandwidth",
         "series": ["read_bytes_sec", "write_bytes_sec"]
     }]
Пример #16
0
 class Meta:
     identifier = ScopedId('index')
Пример #17
0
 class Meta:
     identifier = ScopedId('serial_number')
 class Meta:
     identifier = ScopedId("serial")
 class Meta:
     identifier = ScopedId("mount_point")
Пример #20
0
 class Meta:
     identifier = ScopedId('mount_point')
Пример #21
0
 class Meta:
     identifier = ScopedId("lun_id", "host_id")
Пример #22
0
 class Meta:
     identifier = ScopedId('path')
 class Meta:
     identifier = ScopedId("serial_number")
 class Meta:
     identifier = ScopedId("name")
Пример #25
0
 class Meta:
     identifier = ScopedId('lun_id', 'host_id')
 class Meta:
     identifier = ScopedId('name')
     charts = [{"title": "Bandwidth", "series": ['rx_bytes', 'tx_bytes']}]