

@property
def related(self):
    related = {
        
    }
    if self.vcpe:
        related['vsg_id'] = self.vcpe.id
        if self.vcpe.instance:
            related['instance_id'] = self.vcpe.instance.id
            related['instance_name'] = self.vcpe.instance.name
            related['wan_container_ip'] = self.vcpe.wan_container_ip
            if self.vcpe.instance.node:
                related['compute_node_name'] = self.vcpe.instance.node.name
    return related

dataset/ETHPy150Open open-cloud/xos/xos/api/tenant/cord/volt.py VOLTTenantForAPI.related/original