fog/fog — pull request #3040 by timuralp (2014-07-07 00:23:32+00:00)
Title: Use server_id for Vsphere::Interfaces and Vsphere::Volumes

Attempt to resolve the infinite loop when calling .inspect. The loop is introduced because each instance has a reference to the and collections. Each of these collections, in turn, has an attribute server, which refers to the object. This circular dependency breaks the _Fog_ method, which attempts to print out each of the attributes of a given object.

The proposed resolution is to introduce a functional change, modifying the aforementioned models to expect the ID of the . The models then lookup the server object as necessary.

Fixes: #2938