Changes

Line 44: Line 44:       −
* '''[User-Workflow] Client XO wishes to access the share of Server XO'''
+
* '''[User-Workflow] Client XO wishes to access the share of Server XO.'''
 
** Navigates to the "Neighborhood" view.
 
** Navigates to the "Neighborhood" view.
 
** Hovers over the "Server" buddy.
 
** Hovers over the "Server" buddy.
Line 53: Line 53:       −
* '''[Code-Requirements] Client XO wishes to access the share of Server XO'''
+
* '''[Code-Requirements] Client XO wishes to access the share of Server XO.'''
 
** Mapping a neighborhood-buddy to its IP Address
 
** Mapping a neighborhood-buddy to its IP Address
 
*** Luckily, in the method "def __buddy_updated_cb(self, account, contact_id, properties):" in "jarabe/model/neighborhood.py", there is the "properties['ip4-address']", which contains the IP address of the buddy. All that is needed is to persist it in the "BaseBuddyModel" in "jarabe/model/buddy.py".  
 
*** Luckily, in the method "def __buddy_updated_cb(self, account, contact_id, properties):" in "jarabe/model/neighborhood.py", there is the "properties['ip4-address']", which contains the IP address of the buddy. All that is needed is to persist it in the "BaseBuddyModel" in "jarabe/model/buddy.py".  
525

edits