code: private String addAspToAs(String[] args) throws Exception {
          if (args.length < 5) {
              return M3UAOAMMessages.INVALID_COMMAND;
          }
  
          // Add Rem ASP to Rem AS
          if (args[3] == null || args[4] == null) {
              return M3UAOAMMessages.INVALID_COMMAND;
          }
  
          if (args.length > 5) {
              if (!args[5].equals("stackname")) {
                  return M3UAOAMMessages.INVALID_COMMAND;
              }
  
              String m3uaStackName = args[6];
              M3UAManagementImpl m3uaManagementtmp = this.m3uaManagements.get(m3uaStackName);
  
              if (m3uaManagementtmp == null) {
                  return String.format(M3UAOAMMessages.NO_M3UA_MANAGEMENT_BEAN_FOR_NAME, m3uaStackName);
              }
  
              this.m3uaManagement = m3uaManagementtmp;
          } else {
              this.setDefaultValue();
          }
  
          this.m3uaManagement.assignAspToAs(args[3], args[4]);
          return String.format(M3UAOAMMessages.ADD_ASP_TO_AS_SUCESSFULL, args[4], args[3], this.m3uaManagement.getName());
      }
docs: m3ua as add <as-name> <asp-name> stackname <stack-name>
  
  @param args
  @return
  @throws Exception