예제 #1
0
 def lookup(self, name):
     return disks.get_partition_details(name)
예제 #2
0
파일: host.py 프로젝트: amoalsale/kimchi
    def lookup(self, name):
        if name not in disks.get_partitions_names():
            raise NotFoundError("KCHPART0001E", {'name': name})

        return disks.get_partition_details(name)
예제 #3
0
 def lookup(self, name):
     return disks.get_partition_details(name)
예제 #4
0
파일: host.py 프로젝트: hlwanghl/kimchi
    def lookup(self, name):
        if name not in disks.get_partitions_names():
            raise NotFoundError("KCHPART0001E", {'name': name})

        return disks.get_partition_details(name)