Oracle Solaris System Administration (MOSC)

MOSC Banner

Remote Administration Daemon (RAD) returns an error for network inetrface status

edited Nov 5, 2015 2:49PM in Oracle Solaris System Administration (MOSC) 1 commentAnswered ✓

I am trying to query a remote zone for all configured resources by using RAD.

The script below works well for all resources besides the network resource, i.e "net" or "anet" will exit with an error.
Basically  the "getResourceProperties" for anet "Resource" will exit with an error, vs any other resource for example "capped-memory" will work fine.

-----------

anet_info = zone.getResourceProperties(zonemgr.Resource('anet')):
    print anet_info
-----------------
Traceback (most recent call last):
   File "/tmp/bar1.py", line 43, in <module>
     for prop in zone.getResourceProperties(zonemgr.Resource(type)):
   File "/usr/lib/python2.7/vendor-packages/rad/client.py", line 660, in wrapped_f

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center