Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.3.0
    • Component/s: None
    • Labels:
      None

      Description

      Right now we have a Python script which is able to discover VE cards using pyudev: https://pyudev.readthedocs.io/en/latest/

      Java does not officially support libudev. There are some projects on Github (example: https://github.com/Zubnix/udev-java-bindings) but they're not available as Maven artifacts.

      However it's not that difficult to create a minimal layer around libudev using JNA. We don't have to wrap every function, we need to call 4-5 methods.

        Attachments

        1. YARN-9477-001.patch
          32 kB
          Peter Bacsko
        2. YARN-9477-002.patch
          32 kB
          Peter Bacsko
        3. YARN-9477-003.patch
          32 kB
          Peter Bacsko
        4. YARN-9477-004.patch
          34 kB
          Peter Bacsko
        5. YARN-9477-005.patch
          34 kB
          Peter Bacsko
        6. YARN-9477-006.patch
          34 kB
          Peter Bacsko
        7. YARN-9477-007.patch
          34 kB
          Peter Bacsko
        8. YARN-9477-POC.patch
          13 kB
          Peter Bacsko
        9. YARN-9477-POC2.patch
          12 kB
          Peter Bacsko
        10. YARN-9477-POC3.patch
          12 kB
          Peter Bacsko

          Issue Links

            Activity

              People

              • Assignee:
                pbacsko Peter Bacsko
                Reporter:
                pbacsko Peter Bacsko
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: