public class RWSClientApi
extends java.lang.Object
Constructor and Description |
---|
RWSClientApi() |
public static void init()
public static boolean isRWSAvailable(ConnectionProperties cp) throws RancidApiException
RancidApiException
public static RWSResourceList getRWSResourceList(ConnectionProperties cp, java.lang.String subUri) throws RancidApiException
RancidApiException
public static RWSResourceList getRWSResourceList(java.lang.String baseUri, java.lang.String subUri) throws RancidApiException
RancidApiException
public static RWSResourceList getRWSResourceServicesList(ConnectionProperties cp) throws RancidApiException
RancidApiException
public static RWSResourceList getRWSResourceServicesList(java.lang.String baseUri) throws RancidApiException
RancidApiException
public static RWSResourceList getRWSResourceRAList(ConnectionProperties cp) throws RancidApiException
RancidApiException
public static RWSResourceList getRWSResourceRAList(java.lang.String baseUri) throws RancidApiException
RancidApiException
public static RWSResourceList getRWSResourceGroupsList(ConnectionProperties cp) throws RancidApiException
RancidApiException
public static RWSResourceList getRWSResourceGroupsList(java.lang.String baseUri) throws RancidApiException
RancidApiException
public static RWSResourceList getRWSResourceDeviceList(ConnectionProperties cp, java.lang.String group) throws RancidApiException
RancidApiException
public static RWSResourceList getRWSResourceDeviceList(java.lang.String baseUri, java.lang.String group) throws RancidApiException
RancidApiException
public static RWSResourceList getRWSResourceLoginPatternList(ConnectionProperties cp) throws RancidApiException
RancidApiException
public static RWSResourceList getRWSResourceLoginPatternList(java.lang.String baseUri) throws RancidApiException
RancidApiException
public static RWSResourceList getRWSResourceDeviceTypesPatternList(ConnectionProperties cp) throws RancidApiException
RancidApiException
public static RWSResourceList getRWSResourceDeviceTypesPatternList(java.lang.String baseUri) throws RancidApiException
RancidApiException
public static RWSResourceList getRWSResourceConfigList(ConnectionProperties cp, java.lang.String group, java.lang.String deviceName) throws RancidApiException
RancidApiException
public static RWSResourceList getRWSResourceConfigList(java.lang.String baseUri, java.lang.String group, java.lang.String deviceName) throws RancidApiException
RancidApiException
public static RancidNode getRWSRancidNodeTLO(ConnectionProperties cp, java.lang.String group, java.lang.String devicename) throws RancidApiException
RancidApiException
public static RancidNode getRWSRancidNode(ConnectionProperties cp, java.lang.String group, java.lang.String devicename) throws RancidApiException
RancidApiException
public static RancidNode getRWSRancidNode(java.lang.String baseUri, java.lang.String group, java.lang.String devicename) throws RancidApiException
RancidApiException
public static void createRWSGroup(ConnectionProperties cp, java.lang.String group) throws RancidApiException
RancidApiException
public static void createRWSRancidNode(ConnectionProperties cp, RancidNode rnode) throws RancidApiException
RancidApiException
public static void createRWSRancidNode(java.lang.String baseUri, RancidNode rnode) throws RancidApiException
RancidApiException
public static void updateRWSRancidNode(ConnectionProperties cp, RancidNode rnode) throws RancidApiException
RancidApiException
public static void updateRWSRancidNode(java.lang.String baseUri, RancidNode rnode) throws RancidApiException
RancidApiException
public static void createOrUpdateRWSRancidNode(ConnectionProperties cp, RancidNode rnode) throws RancidApiException
RancidApiException
public static void deleteRWSRancidNode(ConnectionProperties cp, RancidNode rnode) throws RancidApiException
RancidApiException
public static void deleteRWSRancidNode(java.lang.String baseUri, RancidNode rnode) throws RancidApiException
RancidApiException
public static InventoryNode getRWSInventoryNode(ConnectionProperties cp, RancidNode rancidNode, java.lang.String version) throws RancidApiException
RancidApiException
public static InventoryNode getRWSInventoryNode(RancidNode rancidNode, java.lang.String baseUri, java.lang.String version) throws RancidApiException
RancidApiException
public static RancidNode getRWSRancidNodeInventory(ConnectionProperties cp, java.lang.String group, java.lang.String deviceName) throws RancidApiException
RancidApiException
public static RancidNode getRWSRancidNodeInventory(java.lang.String baseUri, java.lang.String group, java.lang.String deviceName) throws RancidApiException
RancidApiException
public static InventoryElement getRWSRancidNodeInventoryElement(ConnectionProperties cp, RancidNode rancidNode, java.lang.String version) throws RancidApiException
RancidApiException
public static java.util.List<InventoryElement2> getRWSRancidNodeInventoryElement2(ConnectionProperties cp, RancidNode rancidNode, java.lang.String version) throws RancidApiException
RancidApiException
public static RancidNodeAuthentication getRWSAuthNode(ConnectionProperties cp, java.lang.String devicename) throws RancidApiException
RancidApiException
public static RancidNodeAuthentication getRWSAuthNode(java.lang.String baseUri, java.lang.String devicename) throws RancidApiException
RancidApiException
public static void createRWSAuthNode(ConnectionProperties cp, RancidNodeAuthentication rnodea) throws RancidApiException
RancidApiException
public static void updateRWSAuthNode(ConnectionProperties cp, RancidNodeAuthentication rnodea) throws RancidApiException
RancidApiException
public static void createOrUpdateRWSAuthNode(ConnectionProperties cp, RancidNodeAuthentication rnodea) throws RancidApiException
RancidApiException
public static void createOrUpdateRWSAuthNode(java.lang.String baseUri, RancidNodeAuthentication rnodea) throws RancidApiException
RancidApiException
public static void deleteRWSAuthNode(ConnectionProperties cp, RancidNodeAuthentication rnodea) throws RancidApiException
RancidApiException
public static void deleteRWSAuthNode(java.lang.String baseUri, RancidNodeAuthentication rnodea) throws RancidApiException
RancidApiException
public static RWSResourceList getBuckets(ConnectionProperties cp) throws RancidApiException
RancidApiException
public static RWSBucket getBucket(ConnectionProperties cp, java.lang.String bucketName) throws RancidApiException
RancidApiException
public static byte[] getBucketItem(ConnectionProperties cp, java.lang.String bucketName, java.lang.String filename) throws RancidApiException
RancidApiException
public static void createBucket(ConnectionProperties cp, java.lang.String bucketName) throws RancidApiException
RancidApiException
public static void deleteBucket(ConnectionProperties cp, java.lang.String bucketName) throws RancidApiException
RancidApiException
public static void updateBucket(ConnectionProperties cp, java.lang.String bucketName, java.lang.String fileName, java.io.InputStream io) throws RancidApiException
RancidApiException
public static void deleteBucketItem(ConnectionProperties cp, java.lang.String bucketName, java.lang.String fileName) throws RancidApiException
RancidApiException
Copyright © 2018. All Rights Reserved.