예제 #1
0
 def create_dns_domain(self,
                       mover_id,
                       domain_name,
                       servers,
                       protocol='udp'):
     return NasXmlBuilder.create_dns_domain(mover_id, domain_name, servers,
                                            protocol)
예제 #2
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)
예제 #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 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)
예제 #5
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)
예제 #6
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)
예제 #7
0
 def create_vdm(self, mover_id, name, pool_id=None):
     return NasXmlBuilder.create_vdm(mover_id, name, pool_id)
예제 #8
0
 def delete_mover_interface(self, mover_id, ip):
     return NasXmlBuilder.delete_mover_interface(mover_id, ip)
예제 #9
0
 def get_vdm(self, vdm_id=None):
     return NasXmlBuilder.get_vdm(vdm_id)
예제 #10
0
 def delete_dns_domain(self, mover_id, domain_name):
     return NasXmlBuilder.delete_dns_domain(mover_id, domain_name)
예제 #11
0
 def delete_filesystem(self, fs_id):
     return NasXmlBuilder.delete_filesystem(fs_id)
예제 #12
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)
예제 #13
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)
예제 #14
0
 def delete_cifs_server(self, name, mover_id=None, is_vdm=False):
     return NasXmlBuilder.delete_cifs_server(name, mover_id, is_vdm)
예제 #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 get_cifs_server(self, name=None, mover_id=None, is_vdm=False):
     return NasXmlBuilder.get_cifs_server(name, mover_id, is_vdm)
예제 #17
0
 def get_nas_pool(self):
     return NasXmlBuilder.get_nas_pool()
예제 #18
0
 def delete_snap(self, snap_id, force=False):
     return NasXmlBuilder.delete_snap(snap_id, force)
예제 #19
0
 def create_snap(self, name, fs_id, pool_id, size=None):
     return NasXmlBuilder.create_snap(name, fs_id, pool_id, size)
예제 #20
0
 def get_fs_snap(self, name=None, snap_id=None):
     return NasXmlBuilder.get_fs_snap(name, snap_id)
예제 #21
0
 def delete_vdm(self, vdm_id):
     return NasXmlBuilder.delete_vdm(vdm_id)
예제 #22
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)
예제 #23
0
 def get_nfs_export(self, mover_id=None, path=None):
     return NasXmlBuilder.get_nfs_export(mover_id, path)
예제 #24
0
 def delete_fs_mp(self, path, mover_id, is_vdm=False):
     return NasXmlBuilder.delete_fs_mp(path, 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_mover_host(self, mover_host_id=None):
     return NasXmlBuilder.get_mover_host(mover_host_id)
예제 #27
0
 def get_fs_mp(self, path=None, mover_id=None, is_vdm=False):
     return NasXmlBuilder.get_fs_mp(path, mover_id, is_vdm)
예제 #28
0
 def get_mover(self, mover_id=None, full=True):
     return NasXmlBuilder.get_mover(mover_id, full)
예제 #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_fs_mp(self, path, fs_id, mover_id, is_vdm=False):
     return NasXmlBuilder.create_fs_mp(path, fs_id, mover_id, is_vdm)