'Validate the current Vdev and children (Devs)'

def validate(self):

    for dev in self:
        dev.validate()
    if (len(self.children) == 0):
        stripe = self.parent.find_by_name('stripe')
        if (not stripe):
            stripe = Tnode('stripe', self._doc)
            stripe.type = 'stripe'
            self.parent.append(stripe)
        self.parent.children.remove(self)
        stripe.append(self)
    else:
        self.type = _vdev_type(self.name)
