コード例 #1
0
 def create_cifs_server(self, name,
                        mover_id, is_vdm=False,
                        workgroup=None, domain=None,
                        ip_list=None,
                        alias_name=None,
                        local_admin_password=None):
     return NasXmlBuilder().create_cifs_server(
         name=name, mover_id=mover_id, is_vdm=is_vdm,
         workgroup=workgroup, domain=domain,
         ip_list=ip_list, alias_name=alias_name,
         local_admin_password=local_admin_password)
コード例 #2
0
 def delete_filesystem(self, fs_id):
     return NasXmlBuilder().delete_filesystem(fs_id)
コード例 #3
0
 def create_cifs_share(self, name, server_name, mover_id,
                       is_vdm=False, path=None):
     return NasXmlBuilder().create_cifs_share(name, server_name, mover_id,
                                              is_vdm, path)
コード例 #4
0
 def modify_nfs_export(self, mover_id, path, ro=None, host_config=None):
     return NasXmlBuilder().modify_nfs_export(mover_id, path, ro,
                                              host_config)
コード例 #5
0
 def create_nfs_export(self, mover_id, path, ro=False, host_config=None):
     return NasXmlBuilder().create_nfs_export(mover_id, path, ro,
                                              host_config)
コード例 #6
0
 def delete_vdm(self, vdm_id):
     return NasXmlBuilder().delete_vdm(vdm_id)
コード例 #7
0
 def get_vdm(self, vdm_id=None):
     return NasXmlBuilder().get_vdm(vdm_id)
コード例 #8
0
 def create_mover_interface(self, mover_id, device, ip, net_mask,
                            vlan_id=0, name=None):
     return NasXmlBuilder().create_mover_interface(
         mover_id, device, ip, net_mask, vlan_id, name)
コード例 #9
0
 def create_snap(self, name, fs_id, pool_id, size=None):
     return NasXmlBuilder().create_snap(name, fs_id, pool_id, size)
コード例 #10
0
 def get_fs_snap(self, name=None, snap_id=None):
     return NasXmlBuilder().get_fs_snap(name, snap_id)
コード例 #11
0
 def delete_dns_domain(self, mover_id, domain_name):
     return NasXmlBuilder().delete_dns_domain(mover_id, domain_name)
コード例 #12
0
 def create_dns_domain(self, mover_id, domain_name, servers,
                       protocol='udp'):
     return NasXmlBuilder().create_dns_domain(
         mover_id, domain_name, servers, protocol)
コード例 #13
0
 def get_mover(self, mover_id=None, full=True):
     return NasXmlBuilder().get_mover(mover_id, full)
コード例 #14
0
 def get_nas_pool(self):
     return NasXmlBuilder().get_nas_pool()
コード例 #15
0
 def extend_fs(self, fs_id, delta_size, pool_id):
     return NasXmlBuilder().extend_filesystem(fs_id, delta_size, pool_id)
コード例 #16
0
 def delete_fs_mp(self, path, mover_id, is_vdm=False):
     return NasXmlBuilder().delete_fs_mp(path, mover_id, is_vdm)
コード例 #17
0
 def get_mover_host(self, mover_host_id=None):
     return NasXmlBuilder().get_mover_host(mover_host_id)
コード例 #18
0
 def delete_snap(self, snap_id, force=False):
     return NasXmlBuilder().delete_snap(snap_id, force)
コード例 #19
0
 def delete_mover_interface(self, mover_id, ip):
     return NasXmlBuilder().delete_mover_interface(mover_id, ip)
コード例 #20
0
 def get_cifs_server(self, name=None, mover_id=None, is_vdm=False):
     return NasXmlBuilder().get_cifs_server(name, mover_id, is_vdm)
コード例 #21
0
 def create_vdm(self, mover_id, name, pool_id=None):
     return NasXmlBuilder().create_vdm(mover_id, name, pool_id)
コード例 #22
0
 def modify_domain_cifs_server(self, name, mover_id, is_vdm=False,
                               join_domain=None, username=None,
                               password=None):
     return NasXmlBuilder().modify_domain_cifs_server(
         name, mover_id, is_vdm, join_domain, username, password)
コード例 #23
0
 def get_nfs_export(self, mover_id=None, path=None):
     return NasXmlBuilder().get_nfs_export(mover_id, path)
コード例 #24
0
 def delete_cifs_server(self, name, mover_id=None, is_vdm=False):
     return NasXmlBuilder().delete_cifs_server(name, mover_id, is_vdm)
コード例 #25
0
 def delete_nfs_export(self, mover_id, path):
     return NasXmlBuilder().delete_nfs_export(mover_id, path)
コード例 #26
0
 def get_fs_mp(self, path=None, mover_id=None, is_vdm=False):
     return NasXmlBuilder().get_fs_mp(path, mover_id, is_vdm)
コード例 #27
0
 def get_cifs_share(self, server_name=None, share_name=None,
                    mover_id=None, is_vdm=False):
     return NasXmlBuilder().get_cifs_share(
         server_name, share_name, mover_id, is_vdm)
コード例 #28
0
 def create_fs_mp(self, path, fs_id, mover_id, is_vdm=False):
     return NasXmlBuilder().create_fs_mp(path, fs_id, mover_id, is_vdm)
コード例 #29
0
 def delete_cifs_share(self, name, mover_id, server_names, is_vdm=False):
     return NasXmlBuilder().delete_cifs_share(
         name=name, mover_id=mover_id, server_names=server_names,
         is_vdm=is_vdm)
コード例 #30
0
 def create_filesystem(self, name, size, pool_id,
                       mover_id, is_vdm=False):
     return NasXmlBuilder().create_filesystem(
         name, size, pool_id, mover_id, is_vdm)