Skip to content

Commit

Permalink
Add also description field
Browse files Browse the repository at this point in the history
  • Loading branch information
micafer committed Jun 6, 2024
1 parent 0f8b7c8 commit d16c45c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions libcloud/compute/drivers/openstack.py
Original file line number Diff line number Diff line change
Expand Up @@ -3164,6 +3164,8 @@ def _to_network(self, obj):
extra["tags"] = obj.get("tags")
if obj.get("is_default", None) is not None:
extra["is_default"] = obj.get("is_default")
if obj.get("description", None):
extra["description"] = obj.get("description")
return OpenStackNetwork(id=obj["id"], name=obj["name"], cidr=None, driver=self, extra=extra)

def ex_list_networks(self):
Expand Down

0 comments on commit d16c45c

Please sign in to comment.