Revision 33ffda6c test/py/ganeti.objects_unittest.py
b/test/py/ganeti.objects_unittest.py | ||
---|---|---|
170 | 170 |
constants.ND_OVS: True, |
171 | 171 |
constants.ND_OVS_LINK: "eth2", |
172 | 172 |
constants.ND_OVS_NAME: "openvswitch", |
173 |
constants.ND_SSH_PORT: 122, |
|
173 | 174 |
} |
174 | 175 |
fake_group = objects.NodeGroup(name="testgroup", |
175 | 176 |
ndparams=group_ndparams) |
... | ... | |
184 | 185 |
constants.ND_OVS: True, |
185 | 186 |
constants.ND_OVS_LINK: "eth2", |
186 | 187 |
constants.ND_OVS_NAME: "openvswitch", |
188 |
constants.ND_SSH_PORT: 222, |
|
187 | 189 |
} |
188 | 190 |
fake_node = objects.Node(name="test", |
189 | 191 |
ndparams=node_ndparams, |
... | ... | |
201 | 203 |
constants.ND_OVS: True, |
202 | 204 |
constants.ND_OVS_LINK: "eth2", |
203 | 205 |
constants.ND_OVS_NAME: "openvswitch", |
206 |
constants.ND_SSH_PORT: 322, |
|
204 | 207 |
} |
205 | 208 |
fake_node = objects.Node(name="test", |
206 | 209 |
ndparams=node_ndparams, |
... | ... | |
208 | 211 |
group_ndparams = { |
209 | 212 |
constants.ND_OOB_PROGRAM: "/bin/group-oob", |
210 | 213 |
constants.ND_SPINDLE_COUNT: 4, |
214 |
constants.ND_SSH_PORT: 422, |
|
211 | 215 |
} |
212 | 216 |
fake_group = objects.NodeGroup(name="testgroup", |
213 | 217 |
ndparams=group_ndparams) |
Also available in: Unified diff