Closed fno2010 closed 7 years ago
Checked the docker-py doc:
In [21]: odl.reload?
Type: instancemethod
String Form:<bound method Container.reload of <Container: 9bfa59c227>>
File: /usr/local/lib/python2.7/dist-packages/docker/models/resource.py
Definition: odl.reload(self)
Docstring:
Load this object from the server again and update ``attrs`` with the
new data.
reload()
method may be the solution.
bootstrap_mininet()
in sdntest/suite.py need to readself.controller.attrs
to get the ip address of the controller container. But it seems that this variable is not updated so that mininet cannot get the latest information.