This patch updates the imported code to reflect octavia-dashboard.
More work is required to make this work with the Octavia v2 API.
This will be done in followup patches.
Starting with Django 1.9 SortedDict has been removed completely,
and this is currently blocking the gate.
This patch replaces SortedDict with the python native OrderedDict.