futurewei-cloud / merak

Merak: Large-scale cloud emulator
MIT License
5 stars 9 forks source link

Topo: add hostname attribute for each pod #182

Closed cj-chung closed 1 year ago

cj-chung commented 1 year ago

This PR make three changes: 1) add hostname field into common.InternalComputeInfo 2) add hostname field into merak-topo's ComputeNode entity. 3) add code to retrieve NodeName for each pod in the merak-topo with pod.Spec.NodeName