10459: Remove old IP from DNS when a node changes its IP or hostname.
[arvados.git] / services / api / test / fixtures / nodes.yml
1 busy:
2   uuid: zzzzz-7ekkf-53y36l1lu5ijveb
3   owner_uuid: zzzzz-tpzed-000000000000000
4   hostname: compute0
5   slot_number: 0
6   domain: ""
7   ip_address: 172.17.2.172
8   last_ping_at: <%= 1.minute.ago.to_s(:db) %>
9   first_ping_at: <%= 23.hour.ago.to_s(:db) %>
10   job_uuid: zzzzz-8i9sb-2gx6rz0pjl033w3  # nearly_finished_job
11   info:
12     ping_secret: "48dpm3b8ijyj3jkr2yczxw0844dqd2752bhll7klodvgz9bg80"
13     slurm_state: "alloc"
14
15 down:
16   uuid: zzzzz-7ekkf-2vbompg3ecc6e2s
17   owner_uuid: zzzzz-tpzed-000000000000000
18   hostname: compute1
19   slot_number: 1
20   domain: ""
21   ip_address: 172.17.2.173
22   last_ping_at: <%= 1.hour.ago.to_s(:db) %>
23   first_ping_at: <%= 23.hour.ago.to_s(:db) %>
24   job_uuid: ~
25   info:
26     ping_secret: "2k3i71depad36ugwmlgzilbi4e8n0illb2r8l4efg9mzkb3a1k"
27
28 idle:
29   uuid: zzzzz-7ekkf-2z3mc76g2q73aio
30   owner_uuid: zzzzz-tpzed-000000000000000
31   hostname: compute2
32   slot_number: 2
33   domain: ""
34   ip_address: 172.17.2.174
35   last_ping_at: <%= 2.minute.ago.to_s(:db) %>
36   first_ping_at: <%= 23.hour.ago.to_s(:db) %>
37   job_uuid: ~
38   info:
39     ping_secret: "69udawxvn3zzj45hs8bumvndricrha4lcpi23pd69e44soanc0"
40     slurm_state: "idle"
41   properties:
42     total_cpu_cores: 16
43
44 was_idle_now_down:
45   uuid: zzzzz-7ekkf-xuzpkdasl0uzwyz
46   owner_uuid: zzzzz-tpzed-000000000000000
47   hostname: compute3
48   slot_number: ~
49   domain: ""
50   ip_address: 172.17.2.174
51   last_ping_at: <%= 1.hour.ago.to_s(:db) %>
52   first_ping_at: <%= 23.hour.ago.to_s(:db) %>
53   job_uuid: ~
54   info:
55     ping_secret: "1bd1yi0x4lb5q4gzqqtrnq30oyj08r8dtdimmanbqw49z1anz2"
56     slurm_state: "idle"
57   properties:
58     total_cpu_cores: 16
59
60 new_with_no_hostname:
61   uuid: zzzzz-7ekkf-newnohostname00
62   owner_uuid: zzzzz-tpzed-000000000000000
63   hostname: ~
64   slot_number: ~
65   ip_address: 172.17.2.175
66   last_ping_at: ~
67   first_ping_at: ~
68   job_uuid: ~
69   info:
70     ping_secret: "abcdyi0x4lb5q4gzqqtrnq30oyj08r8dtdimmanbqw49z1anz2"
71
72 new_with_custom_hostname:
73   uuid: zzzzz-7ekkf-newwithhostname
74   owner_uuid: zzzzz-tpzed-000000000000000
75   hostname: custom1
76   slot_number: 23
77   ip_address: 172.17.2.176
78   last_ping_at: ~
79   first_ping_at: ~
80   job_uuid: ~
81   info:
82     ping_secret: "abcdyi0x4lb5q4gzqqtrnq30oyj08r8dtdimmanbqw49z1anz2"
83
84 node_with_no_ip_address_yet:
85   uuid: zzzzz-7ekkf-nodenoipaddryet
86   owner_uuid: zzzzz-tpzed-000000000000000
87   hostname: noipaddr
88   slot_number: ~
89   last_ping_at: ~
90   first_ping_at: ~
91   job_uuid: ~
92   info:
93     ping_secret: "abcdyefg4lb5q4gzqqtrnq30oyj08r8dtdimmanbqw49z1anz2"