9 Replies Latest reply: Jun 27, 2012 8:42 PM by Neel Shaha RSS

Custom device adapter in BNA 8.2.x

Prabhat Chandra

Hi everyone,

 

can anyone share the document to add device adapter which are not supported by BNA .

because i m unable to create adapter by following the PDF guide.

my mail id is (prabhat12chandra@gmail.com)

thanks in advance..

 

Regards,

Prabhat

  • 1. Re: Custom device adapter in BNA 8.2.x
    Rahul

    Prabhat,

     

    The developer guide is enough to create custom device adapter, and yes its bit complicated but if you can manage to create simplest one, you will able to create any. I have the adapter skeleton (Attached herewith), use this and develop the device adapter..

     

     

  • 2. Custom device adapter in BNA 8.2.x
    Prabhat Chandra

    Hi Rahul,

     

    Thanks for your useful information .

    now I am facing the problem like, is it necessary to validate the xml with the .xsd file.

     

    Regards,

    Prabhat

  • 3. Custom device adapter in BNA 8.2.x
    Rahul

    No, it's not necessary..

  • 4. Custom device adapter in BNA 8.2.x
    Prabhat Chandra

    Hi Rahul,

     

    i had tried to import the xml file and i have got this error..

     

    File is invalid.

                                                                                                                                                                                                                    Error :                                          cvc-complex-type.2.4.a: Invalid content was found starting with element 'vendors'. One of '{name, vendor, imageNamePrefix, extension, proxy, alwaysUseDiff, ignoreBlanks, defaultMergeCommandGuid, defaultRestoreCommandGuid, supportsTelnetAccess, supportsSsh1Access, supportsSsh2Access, supportsInteractiveSshAuth, supportsHttps11Access, supportsHttps10Access, supportsHttp11Access, supportsHttp10Access, supportsWebServiceAccess, sshPseudoTty, telnetPseudoTty, supportsTunneledTransfer, supportsTftpTransfer, supportsFtpTransfer, supportsScpTransfer, supportsPrivPassword, rebootsAfterLoad, rebootsAfterRestore, securitySleepSeconds, promptsUnsavedChanges, kickAtResponseTimeout, supportsMultipleSecurityContexts, supportsConfigPerSecurityContext, requiresTunnelingForContainerMerge, creatorSecurityContextName, supportsDiskImageLoad, supportsForwardImageDeletion, supportsPCMCIAFlashCardImageLoad, supportsSerialTerminalServerManagement, imageArchiveFilename, illegalPortTypeNameCharacters, preserveFilenameOnImageLoad, imageLoaderClassName, supportedFileSystems, hardwareInventoryClassName, containerVlbClassName, containerVfwClassName, snmpOids, supportedConfigurationTrailDeclarations, commentLines, commentBlocks, disregardLeadingWord, sortedCommands, sortedParameters, configProcessors, sensitiveLines, deviceCommand, httpDeviceCommand, javaDeviceCommand}' is expected.

     

     

     

     

     

     

    so is it necessary to add all this fields to xml file.

     

     

    Thanks,

    Prabhat

  • 5. Custom device adapter in BNA 8.2.x
    Rahul

    For which device you are trying to implement device adapter..?

     

    And FYI, do export any device adapter from your bbna application, do compare it with your new one.. Take reference from existing device adapter which are present in bbna OOTB.

     

    You need to set login portion, backup command, restore command in new device adapter..

  • 6. Custom device adapter in BNA 8.2.x
    Prabhat Chandra

    I am trying to create adapter of  Linksys SRW224G4 (24 port) switch.

     

    yes, I have done that before and I am comparing it with the existing one (i.e. cisco).

     

    is there any specific xml for linksys i have to write. i mean to say that the xml configuration is differ by device ??

  • 7. Custom device adapter in BNA 8.2.x
    Rahul

    Its a Web-UI and console based device, you have to find out the login / backup config / restroe config commands,

     

    And yes you can say DA xml is the backend part of BBNA from which BBNA is managing network devices.

    means if you would like to take backup of any device, the DA of that particular device contains backup command, and BBNA is taking help of that command to perform backup action, same for other span actions..

     

    for Linksys SRW224G4 is bit difficult to develop DA, as its web-UI and console based. Do open a ticket with support, may they will take this is as an RFE..

  • 8. Re: Custom device adapter in BNA 8.2.x
    Neel Shaha

    Hello Prabhat,

     

     

     

    Error implies that you have not imported the Vendor xml file. First you have to create one vendor file, import vendor xml first & then try to import the adapter xml file that you have created.

     

     

     

    Thanks,

     

    -Neel

  • 9. Re: Custom device adapter in BNA 8.2.x
    Neel Shaha

    Hello Prabhat,

     

     

     

    Error implies that you have not imported the Vendor xml file. First you have to create one vendor file, import vendor xml first & then try to import the adapter xml file that you have created.

     

    Let me know if you face any further problem.

     

     

     

    Thanks,

     

    -Neel