- Community Home
- >
- Software
- >
- HPE Morpheus Software
- >
- HPE Morpheus Enterprise Software
- >
- Re: Getting Network Details Using from an Instance...
Categories
Company
Local Language
Forums
Discussions
- Integrity Servers
- Server Clustering
- HPE NonStop Compute
- HPE Apollo Systems
- High Performance Computing
Knowledge Base
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Knowledge Base
Forums
Discussions
- Cloud Mentoring and Education
- Software - General
- HPE OneView
- HPE Ezmeral Software platform
- HPE OpsRamp Software
Knowledge Base
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-23-2023 08:46 AM
03-23-2023 08:46 AM
Getting Network Details Using from an Instance Using Task
Hello,
I’m trying use a variable within an automation task using shell scrip <%=server.interfaces.network%> to get network information such as netmask, CIDR etc when I echo this variable, it returns some information and the rest are null.
I thought this was because I was my vCenter cloud, however I tested it in Azure and AWS too and received same result, and thinking if this null result was the result of using DHCP network ? or do have to define a static network information within Morpheus to return the null values or am I using the wrong variable? Any insight would be help.
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-23-2023 01:18 PM
03-23-2023 01:18 PM
Re: Getting Network Details Using from an Instance Using Task
Thanks for your response, I’ll test this out.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-23-2023 09:38 AM
03-23-2023 09:38 AM
Re: Getting Network Details Using from an Instance Using Task
I believe that variable is for information regarding the Morpheus network. For DHCP clients, we return the IP, but that’s about it, based on my limited testing.
You can execute ip -j a on the instance and use a result type of JSON to pass the result to the next task in a workflow. At that point, you can address any of the runtime network information: