Coder Social home page Coder Social logo

ASA prompt checking about netdev HOT 4 CLOSED

romankuchin avatar romankuchin commented on June 18, 2024
ASA prompt checking

from netdev.

Comments (4)

selfuryon avatar selfuryon commented on June 18, 2024

@romankuchin Hello! Thank you for your report! I never think about changing prompt with command prompt. I find out that it has several params:

configure mode commands/options:
  cluster-unit     Display the cluster unit name in the session prompt
  context          Display the context in the session prompt (multimode only)
  domain           Display the domain in the session prompt
  hostname         Display the hostname in the session prompt
  management-mode  Display management mode
  priority         Display the priority in the session prompt
  state            Display the traffic passing state in the session prompt

So it can consist more than 3 part with '/' separator. I think that we can omit it all in the _set_base_prompt function except first part (it is usually hostname in the most cases).
I will release new code for ASA in several days after some testing :)

from netdev.

selfuryon avatar selfuryon commented on June 18, 2024

@romankuchin Hello! I changed this code for working with your case. Now it should just work without any workarounds. Can you test it in your environment?

from netdev.

romankuchin avatar romankuchin commented on June 18, 2024

Hello! Reinstalled the module with pip and it works like a charm! No need to keep NetDev sources in the project anymore. Thank you very much!

from netdev.

selfuryon avatar selfuryon commented on June 18, 2024

Thank you for submitting successful work!

from netdev.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.