Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide Host Networking information #177

Closed
Thomas-Gelf opened this issue Aug 16, 2020 · 5 comments
Closed

Provide Host Networking information #177

Thomas-Gelf opened this issue Aug 16, 2020 · 5 comments
Assignees
Milestone

Comments

@Thomas-Gelf
Copy link
Contributor

Virtual Machines currently show their Network Adapters, Host Systems don't

@Thomas-Gelf Thomas-Gelf added this to the v1.2.0 milestone Aug 16, 2020
@Thomas-Gelf Thomas-Gelf self-assigned this Aug 16, 2020
@Thomas-Gelf
Copy link
Contributor Author

There have already been some related commits: 4baa264, cbf0b6a, 622cd3e, 3a3da45, 914337a, eab4c3b, 5d2acd4 and others. DB schema migration has been prepared and will be pushed once UI enhancement is ready.

@Thomas-Gelf Thomas-Gelf changed the title Provide Host Networking Information Provide Host Networking information Aug 16, 2020
Thomas-Gelf added a commit that referenced this issue Aug 18, 2020
@Thomas-Gelf
Copy link
Contributor Author

Works

@seferovic
Copy link

Hi, should this change be able to retrieve the virtual NIC properties of a vsphere host? I'm running latest master and unfortunately I have no value in host_virtual_nic.ipv4_address for i.e. Management Interfaces.

@maaaax
Copy link

maaaax commented Nov 22, 2020

All the ip* and dv* fields in the host_virtual_nic table are NULL (vcenter 6.7 and 7.0)

@maaaax
Copy link

maaaax commented Nov 23, 2020

I had to change some keys in library/Vspheredb/DbObject/HostVirtualNic.php
to get ipv4_address, ipv4_subnet_mask (and mtu and tsoEnabled)

    'spec.ip.ipAddress'     => 'ipv4_address',
    'spec.ip.subnetMask'    => 'ipv4_subnet_mask',

..
'spec.mtu' => 'mtu',
..
'spec.tsoEnabled' => 'tso_enabled',

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants