nsd = client.nsd_list()
vnfd = client.vnfd_list()
ns = client.ns_list()
+ vnf = client.vnf_list()
result = {
'owner': self.owner.__str__(),
'name': self.name,
'nsd': len(nsd) if nsd else 0,
'vnfd': len(vnfd) if vnfd else 0,
'ns': len(ns) if ns else 0,
- 'validated': self.validated
+ 'vnf': len(vnf) if vnf else 0,
+ #'validated': self.validated
}
return result
class="fa fa-arrow-circle-right"></i></a></div>
</div>
+ <div class="col-md-6 ">
+ <div class="small-box bg-maroon">
+ <div class="inner"><h3>{{ project_overview.vnf }}</h3>
+ <p>VNF Instances</p></div>
+ <div class="icon"><i class="fa fa-list"></i></div>
+ <a href='{% url "projects:instances:list" project_id=project_id type="vnf" %}' class="small-box-footer">Open list <i
+ class="fa fa-arrow-circle-right"></i></a></div>
+ </div>
+
</div>
</div>