Developer

 View Only
last person joined: 2 days ago 

Expand all | Collapse all

show commands from the MC or MDs

This thread has been viewed 12 times
  • 1.  show commands from the MC or MDs

    Posted Feb 23, 2023 08:47 AM

    I created a python script to pull bss-tables from our MDs.  As you know, the bss-table info is only accessible from an MD.  To access this information via CLI you either have to SSH into the MC, then cd+mdconnect to the MD, or you can SSH directly into an MD.  Is there any way to get the bss-table for each MD through the MC or do I need to make API calls to each MD directly?



  • 2.  RE: show commands from the MC or MDs

    Posted Feb 23, 2023 08:55 AM
    From everything I can tell you do need to do this by querying each MD.  I've done this via multiprocessing and dataclasses to speed up and store the information in a threadsafe way. 

    This is an example of what I have done in the past.


    --  

    Jeff Hagley

    Principal Consultant