Operational Defect Database

BugZero updated this defect 58 days ago.

VMware | 329703

Smarts IP: How can I permanently change an access port to managed from unmanaged?; Access ports set to Managed are changed to Unmanaged after Smarts IP re-discovery

Last update date:

3/22/2024

Affected products:

Smart Assurance - SMARTS

Affected releases:

No affected releases provided.

Fixed releases:

No fixed releases provided.

Description:

Symptoms

How can I permanently change an access port to managed from unmanaged in Smarts IP?Access ports set to Managed are changed to Unmanaged after Smarts IP re-discovery Juniper EX4200-48T switch with managed / EXPLICITLY_MANAGED ports are changing to unmanaged on re-discovery

Cause

By default, access ports in Smarts IP are unmanaged during discovery and re-discovery. If you set access ports to managed using the Smarts IP interface and re-discover the ports, the IsManaged attribute will revert to being false and the ManagedState will change from EXPLICITLY_MANAGED back to UNMANAGED.

Resolution

You can manage the access ports so that the object will be explicitly managed and the Smarts IP post-processing code will not unmanage it again. This is achieved by putting the following code into your custom post processing file, calling the manage() function with over-write parameter set to True:START {..eol} do {foreach PortName (getInstances("Port")) {PortObj = object(PortName);PortObj->manage();print("Port state set to Manage ->".PortObj->ManagedState);}}

Additional Resources / Links

Share:

BugZero® Risk Score

What's this?

Coming soon

Status

Unavailable

Learn More

Search:

...