Skip to content

Commit

Permalink
fix missed namespaces
Browse files Browse the repository at this point in the history
  • Loading branch information
Carlos Rodrigues authored and pstorz committed Dec 16, 2019
1 parent 31b27f4 commit 9303147
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions core/src/plugins/filed/BareosFdPluginOvirt.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@
# OVF Namespaces
OVF_NAMESPACES = {
'ovf': 'http://schemas.dmtf.org/ovf/envelope/1/',
'xsi': 'http://www.w3.org/2001/XMLSchema-instance'
'xsi': 'http://www.w3.org/2001/XMLSchema-instance',
'rasd': 'http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_ResourceAllocationSettingData'
}

class BareosFdPluginOvirt(BareosFdPluginBaseclass.BareosFdPluginBaseclass):
Expand Down Expand Up @@ -878,10 +879,10 @@ def prepare_vm_restore(self, context, options):
type = types.VmType( vm_type ),
template=types.Template(
name=vm_template
),
),
cluster=types.Cluster(
name=cluster_name
),
),
),
)

Expand Down

0 comments on commit 9303147

Please sign in to comment.