Creating a Name for a RAD Object in Python
The RAD object names are structured, consisting of a domain and one or more key-value pairs.
For example, you can create a name for a zonemgr
zone instance as follows:
>>> ADRName("com.oracle.solaris.rad.zonemgr", { "type": "Zone", "name" : "radtest-zone", "id" : "1" })
When you create a name, you can handle key-value pairs. This removes any issues in processing names where values contain special characters (for example, commas (,
), and equal signs (=
).
The RADConnection
class provides methods for listing objects by name and for obtaining a remote object reference.