Accept new / unknown API fields gracefully (#131)
[osm/N2VC.git] / juju / client / _client2.py
index c6035af..283e803 100644 (file)
@@ -1903,6 +1903,7 @@ class DiscoverSpacesFacade(Type):
                                                'life': {'type': 'string'},
                                                'provider-id': {'type': 'string'},
                                                'provider-network-id': {'type': 'string'},
+                                               'provider-space-id': {'type': 'string'},
                                                'space-tag': {'type': 'string'},
                                                'status': {'type': 'string'},
                                                'vlan-tag': {'type': 'integer'},
@@ -2025,12 +2026,14 @@ class DiskManagerFacade(Type):
                                                     'Label': {'type': 'string'},
                                                     'MountPoint': {'type': 'string'},
                                                     'Size': {'type': 'integer'},
-                                                    'UUID': {'type': 'string'}},
+                                                    'UUID': {'type': 'string'},
+                                                    'WWN': {'type': 'string'}},
                                      'required': ['DeviceName',
                                                   'DeviceLinks',
                                                   'Label',
                                                   'UUID',
                                                   'HardwareId',
+                                                  'WWN',
                                                   'BusAddress',
                                                   'Size',
                                                   'FilesystemType',
@@ -3160,7 +3163,8 @@ class ModelManagerFacade(Type):
                                              'required': ['config'],
                                              'type': 'object'},
                      'ModelInfo': {'additionalProperties': False,
-                                   'properties': {'cloud-credential-tag': {'type': 'string'},
+                                   'properties': {'agent-version': {'$ref': '#/definitions/Number'},
+                                                  'cloud-credential-tag': {'type': 'string'},
                                                   'cloud-region': {'type': 'string'},
                                                   'cloud-tag': {'type': 'string'},
                                                   'controller-uuid': {'type': 'string'},
@@ -3180,15 +3184,13 @@ class ModelManagerFacade(Type):
                                    'required': ['name',
                                                 'uuid',
                                                 'controller-uuid',
-                                                'provider-type',
-                                                'default-series',
                                                 'cloud-tag',
                                                 'owner-tag',
                                                 'life',
-                                                'status',
                                                 'users',
                                                 'machines',
-                                                'sla'],
+                                                'sla',
+                                                'agent-version'],
                                    'type': 'object'},
                      'ModelInfoResult': {'additionalProperties': False,
                                          'properties': {'error': {'$ref': '#/definitions/Error'},
@@ -3273,6 +3275,18 @@ class ModelManagerFacade(Type):
                                                                              'type': 'array'}},
                                                   'required': ['changes'],
                                                   'type': 'object'},
+                     'Number': {'additionalProperties': False,
+                                'properties': {'Build': {'type': 'integer'},
+                                               'Major': {'type': 'integer'},
+                                               'Minor': {'type': 'integer'},
+                                               'Patch': {'type': 'integer'},
+                                               'Tag': {'type': 'string'}},
+                                'required': ['Major',
+                                             'Minor',
+                                             'Tag',
+                                             'Patch',
+                                             'Build'],
+                                'type': 'object'},
                      'RegionDefaults': {'additionalProperties': False,
                                         'properties': {'region-name': {'type': 'string'},
                                                        'value': {'additionalProperties': True,
@@ -3344,7 +3358,7 @@ class ModelManagerFacade(Type):
         name : str
         owner_tag : str
         region : str
-        Returns -> typing.Union[_ForwardRef('ModelMigrationStatus'), _ForwardRef('ModelSLAInfo'), _ForwardRef('EntityStatus'), typing.Sequence<+T_co>[~ModelUserInfo]<~ModelUserInfo>]
+        Returns -> typing.Union[_ForwardRef('Number'), _ForwardRef('ModelMigrationStatus'), _ForwardRef('ModelSLAInfo'), _ForwardRef('EntityStatus'), typing.Sequence<+T_co>[~ModelUserInfo]<~ModelUserInfo>]
         '''
         # map input types to rpc msg
         _params = dict()
@@ -3852,6 +3866,7 @@ class SpacesFacade(Type):
                                                'life': {'type': 'string'},
                                                'provider-id': {'type': 'string'},
                                                'provider-network-id': {'type': 'string'},
+                                               'provider-space-id': {'type': 'string'},
                                                'space-tag': {'type': 'string'},
                                                'status': {'type': 'string'},
                                                'vlan-tag': {'type': 'integer'},
@@ -4045,6 +4060,7 @@ class SubnetsFacade(Type):
                                                'life': {'type': 'string'},
                                                'provider-id': {'type': 'string'},
                                                'provider-network-id': {'type': 'string'},
+                                               'provider-space-id': {'type': 'string'},
                                                'space-tag': {'type': 'string'},
                                                'status': {'type': 'string'},
                                                'vlan-tag': {'type': 'integer'},