Contents
First Published: September 16, 2016
New and Changed APIs in the Current Release
Overview
This guide provides the list of new and changed APIs for the current release.
JSON REST API—Provides a list of the changes made to the JavaScript Object Notation (JSON) REST APIs.
XML REST API—Provides a list of the classes that were added to the XML REST APIs. This section also provides information about new and modified input and output parameters for those classes.
Internal API—Provides a list of modified and deleted methods for the pojos of the internal APIs.
Java Report Files—Provides a list of reports in which new columns are added for the current release.
XML REST API
This section provides a list of classes that are newly added for the current release. Also, this section provides the number of newly added and modified input and output parameters of the classes for Release 6.0 in comparison with Release 5.5.
New API
The following table provides the list of newly added XML REST APIs for Release 6.0 in comparison with Release 5.5.
API Name
Parameters
AddPhysicalNetworkDeviceConfig
private String podName;
private String deviceCategory;
private String serverAddress;
private String protocol = "ssh";
private int port = 22;
private String username;
private String password;
private String enablePassword;
private long actionId;
private long configEntryId;
BaremetalProvisioningWrapperConfig
private long configEntryId;
private long actionId;
private boolean useExplicitPolicy = false;
private int bmPolicyId;
CIMCAaaUserPolicy
private String accountName;
private String serverIP;
private String dn;
private String userPasswordPolicy;
private String passwordPolicyRules;
CIMCZoning
private long configEntryId;
private long actionId;
private String accountName;
private String serverIP;
private String slot;
private String presence;
private String health;
private String blockcount;
private String blocksize;
private String diskstate;
private String drivePowerPolicy;
private String expander1linkspeed;
private String expander2linkspeed;
private String fwUpdateOperState;
private String fwUpdateProgress;
private String ownership;
private String productId;
private String revision;
private String sasaddress1;
private String sasaddress2;
private String serial;
private String size;
private String vendor;
ConfigureHostNameConfig
private long configEntryId;
private long actionId;
private String netdevice;
private String vdcName;
private String hostName;
private boolean copyRunToStartConfig = true;
CreateSecurityDomainConfig
private long configEntryId;
private long actionId;
private String apicAccount;
private String securityDomain;
private String description;
CreateVRFConfig
Request
No Difference
Response
CustomActionRegistry.getInstance().registerDefinition( CustomActionRegistry.getInstance().registerDefinition( new WFTaskDefinition(WorkflowCategories. CATEGORY_CISCO_NETWORK_TASKS, CreateVRFConfig.HANDLER_NAME, CreateVRFConfig.HANDLER_LABEL, CreateVRFConfig.class, new CreateVRFHandler()) .withOutput(OP_DATACENTER).withOutput(OP_DEVICE_IP) .withOutput(OP_NET_DEVICE) .withOutput(OP_VRF).withOutput(OP_VRF_IDENTITY) .withOutput(OP_DOMAIN_NAME) ); CustomActionRegistry.getInstance().registerDefinition( new WFTaskDefinition(WorkflowCategories. CATEGORY_CISCO_NETWORK_TASKS, CreateVRFConfig.HANDLER_NAME, CreateVRFConfig.HANDLER_LABEL, CreateVRFConfig.class, new CreateVRFHandler()) .withOutput(OP_DATACENTER) .withOutput(OP_DEVICE_IP).withOutput(OP_NET_DEVICE) .withOutput(OP_VRF).withOutput(OP_VRF_IDENTITY) .withOutput(OP_DOMAIN_NAME) );DeleteHostNameConfig
private long configEntryId;
private long actionId;
private String netdevice;
private String vdcName;
private String hostName;
private boolean copyRunToStartConfig = true;
DeleteMultipleVMConfig
private long actionId;
private long configEntryId;
private String vmId;
DeletePasswordResetConfig
private long configEntryId;
private long actionId;
private String userName;
DeleteSecurityDomainConfig
private long configEntryId;
private long actionId;
private String securityDomains;
DeleteVRFConfig
private long configEntryId;
private long actionId;
private String netdevice;
private String vdcName;
private String contextName;
private boolean copyRunToStartConfig;
DeviceHostEntry
private String datacenter;
private String deviceIp;
private String hostName;
private String context;
DeviceHostInfo
private String datacenter;
private String deviceIp;
private String vrfName;
private String defaultDomain;
private String nameServers;
private String context;
DeviceNTPConfiguration
private String datacenter;
private String deviceIp;
private String serverIP;
private String type;
private String context;
EMCXtremIOAttachTagConfig
private long configEntryId;
private long actionId;
private String accountIdentity;
private String resourceType;
private String volumeIdentity;
private String cgIdentity;
private String snapshotSetIdentity;
private String initiatorsGroupIdentity;
private String initiatorIdentity;
private String tagIdentity;
EMCXtremIOConsistencyGroupTagListReportPojo
private String accountName;
private String dcName;
private String cgName;
private String tagIndex;
private String tagName;
EMCXtremIOCreateTagConfig
private long configEntryId;
private long actionId;
private String accountIdentity;
private String name;
private String objectType;
private String nestTagUnder;
EMCXtremIODeleteTagConfig
private long configEntryId;
private long actionId;
private String tagIdentity;
EMCXtremIODetachTagConfig
private long configEntryId;
private long actionId;
private String accountIdentity;
private String resourceType;
private String volumeIdentity;
private String cgIdentity;
private String snapshotSetIdentity;
private String initiatorsGroupIdentity;
private String initiatorIdentity;
private String tagIdentity;
EMCXtremIOInitiatorGroupTagListReportPojo
private String accountName;
private String dcName;
private String initiatorGroupName;
private String tagIndex;
private String tagName;
EMCXtremIOInitiatorTagListReportPojo
private String accountName;
private String dcName;
private String initiatorName;
private String tagIndex;
private String tagName;
EMCXtremIORenameTagConfig
private long configEntryId;
private long actionId;
private String tagIdentity;
private String tagCaption;
EMCXtremIOScheduleTagListReportPojo
private String accountName;
private String dcName;
private String scheduleName;
private String tagIndex;
private String tagName;
EMCXtremIOSchedulerTagListReportPojo
private String accountName;
private String dcName;
private String scheduleName;
private String tagIndex;
private String tagName;
EMCXtremIOSnapshotSetTagListReportPojo
private String accountName;
private String dcName;
private String snapshotSetName;
private String tagIndex;
private String tagName;
EMCXtremIOTagObjectsReportPojo
private String accountName;
private String dcName;
private String objectType;
private String objectName;
private String caption;
private String objectIndex;
EMCXtremIOTagsReportPojo
private String accountName;
private String dcName;
private String name;
private String guid;
private String index;
private String caption;
private String objectType;
private List< List < String > > objectList;
EMCXtremIOVolumeTagListReportPojo
private String accountName;
private String dcName;
private String volumeName;
private String tagIndex;
private String tagName;
EMCXtremeIODisableSchedulersConfig
private long configEntryId;
private long actionId;
private String scheduleState;
private String schedulerIdentity;
EMCXtremeIOEnableSchedulersConfig
private long configEntryId;
private long actionId;
private String schedulerIdentity;
GetAPICSecurityRulesConfig
private long configEntryId;
private long actionId;
private String srcNetwork;
private String destNetwork;
HypervEditVMCloudConfig
private boolean assignVmToCloud=true;
private int vmId = -1;
private String cloud;
private long actionId;
private long configEntryId;
ModifyUserPasswordSecuredConfig
private String loginName;
private String currentLoginPassword;
private String newPassword;
private String confirmPassword;
private long actionId;
private long configEntryId;
PasswordResetConfig
private long configEntryId;
private long actionId;
private String netdevice;
private String userName;
private String password;
PushNTPConfigurationsConfig
Request
No Difference
Response
CustomActionRegistry.getInstance().registerDefinition( CustomActionRegistry.getInstance() .registerDefinition( new WFTaskDefinition (WorkflowCategories.CATEGORY_CISCO_NETWORK_TASKS, PushNTPConfigurationsConfig.HANDLER_NAME, PushNTPConfigurationsConfig.HANDLER_NAME, PushNTPConfigurationsConfig.class, new PushNTPConfigurationsHandler()) .withOutput(OP_DATACENTER) .withOutput(OP_DEVICE_IP).withOutput(OP_NET_DEVICE) .withOutput(OP_NTP_SERVER_IP) .withOutput(OP_NTP_STRATUM_NUMBER) .withOutput(OP_NTP_SERVER_IP_IDENTITY)); CustomActionRegistry.getInstance().registerDefinition( new WFTaskDefinition(WorkflowCategories. CATEGORY_CISCO_NETWORK_TASKS, PushNTPConfigurationsConfig.HANDLER_NAME, PushNTPConfigurationsConfig.HANDLER_NAME, PushNTPConfigurationsConfig.class, new PushNTPConfigurationsHandler()).withOutput(OP_DATACENTER) .withOutput(OP_DEVICE_IP).withOutput(OP_NET_DEVICE) .withOutput(OP_NTP_SERVER_IP) .withOutput(OP_NTP_STRATUM_NUMBER) .withOutput(OP_NTP_SERVER_IP_IDENTITY));
RemoveNTPConfigurationsConfig
private long configEntryId;
private long actionId;
private String ntpServerIP;
private boolean copyRunToStartConfig = true;
APIs with Newly Added Parameters
The following table provides the list of newly added parameters of XML REST APIs for Release 6.0 in comparison with Release 5.5.
API Name
Newly Added Parameters
AddBmaAccountConfig
private String sambaPassword;
private String reconfirmSambaPassword;
CIMCDiscoveredDevice
private String description ="N/A";
private String contact = "N/A";
private String location = "N/A";
private String rackGroup = "N/A";
private String tagPair;
CIMCServer
private String virtualMgmtIp;
private String dataModel;
private String serverId;
CIMCServerUtilizationHistory
private String apiDaysWithAccountName;
private String apiDaysWithServerIP;
CIMCStorageLocalDisk
private String controllerSerial;
CIMCStorageVirtualDrive
private String controllerSerial;
ConfigureAccessConfig
private String desc;
CreateVLANConfig
private boolean noShut = false;
DeleteHadoopClusterProfileConfig
private String clusterID;
private String tblflag;
DeviceModuleInfo
private String xBarID;
EMCXtremIOConsistencyGroupVolumesReportPojo
private List cgTagInfo;
EMCXtremeIOSchedulersReportPojo
private List< List < String > > tag_list;
private List scheduleTagInfo;
EMCXtremeIOSnapshotSetsReportPojo
private List< List < String > > tag_list;
private List snapSetTagInfo;
EMCXtremeIOVolumeReportPojo
private List< List < String > > tag_list;
private List volumeTagInfo;
EMCXtremeIoInitiatorGroup
private List< List < String > > tag_list;
private List initiatorGroupInfo;
HypervCreateIPPoolConfig
private String vipAddresses;
private String reservedAddresses;
HypervCreateIPPoolOnVMNetworkConfig
private String reservedAddresses;
IBMMdiskInfo
private String enclosure_id;
NetAppAssignClusterAggregateToUserGroupConfig
private boolean assignToUsers;
NetAppAssignClusterVolumeToUserGroupConfig
private boolean assignToUsers;
UcsNetworkControlPolicy
private String descr;
VDCCatalogItem
private boolean serviceRequestSupportEmailflag;
VPCDomainConfig
private String delayRestore;
private boolean peerGateway = false;
private boolean autoRecovery = false;
Internal API
The internal APIs are used in the custom task. This section provides the summary of changes applied to the methods of internal APIs for the current release.
Modified Methods
The following table provides the list of methods modified for internal APIs for Release 6.0 in comparison with Release 5.5.
Pojo Name
Method
com/cloupia/service/cIM/inframgr/AuthorizationPersistenceUtil.java
void addRoleActionMappings(List<UserRole> roles)=> void addRoleActionMappings()
com/cloupia/service/cIM/inframgr/resourceGroups/ ResourceGroupsUtil.java
String formatContainerNameForRollBack(String incomingContainerName, String dbContainerName)=> String formatContainerNameForRollBack(String dbContainerName, String tenantName)
com\cloupia\service\cIM\inframgr\LocaleUserManager.java
void addUserLocale(String username)=> void addUserLocale(String userName)
com/cloupia/service/cIM/tree/AccountListener.java
void validateAccount(InfraAccount Acc)=> void validateAccount(InfraAccount acc, boolean isCreateOperation)
com\cloupia\service\cIM\tree\VXLANPoolPolicyListner.java
void validavxLANRange(String vlanRange)=> void validavxLANRange(String vxlanRange)
Deleted Methods
The following table provides the list of methods deleted from internal APIs for Release 6.0 in comparison with Release 5.5.
Pojo Name
Deleted Methods
com/cloupia/service/cIM/inframgr/automation/ PlayTestRemoteInterface.java
List<String> getDBConnectionParams()
com/cloupia/service/cIM/inframgr/LdapInfraPersistenceUtil.java
UserAccessProfile getUapProfilesBasedOnGrp(String loginProfileName, int filteredGrpId, String groupName, String domainName)
com/cloupia/service/cIM/tree/VXLANPoolPolicyListner.java
boolean validateDCName(String dcName)
Java Reports
This section provides a list of Java reports to which columns are newly added for the current release.
Java Reports with New Columns
The following table provides the list of Java reports to which columns are newly added for Release 6.0 in comparison with Release 5.5.
Copyright © 2016, Cisco Systems, Inc. All rights reserved.