Comments (4)
@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.
@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.
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.
Thank you for submitting successful work!
from netdev.
Related Issues (20)
- Change license type
- Improve documentation
- Haven't any exceptions/messages about the wrong secret password in IOS
- What is default timeout or retry Number HOT 2
- Refactoring the code
- MikrotikRouterOS raises Attribute error during initialization HOT 1
- Timeout feature not working in MircoticRouterOS HOT 1
- MicrotikRouterOS raises TimeoutError HOT 1
- Small issue with Ubiquity_edge - probably my fault. HOT 1
- Support for paloalto_panos HOT 1
- Unexpected keyword argument 'loop' with asyncssh==2.3.0 HOT 3
- device TimeoutError HOT 1
- Little correction to add in the online documentation
- send_config_from_file support for netdev
- False positives on _base_pattern, can't override. HOT 2
- Issue with asyncio stuck at task
- Prompt pattern matches where it should NOT HOT 1
- Could you upgrade Asyncssh in netdev HOT 1
- Async IO task is getting stuck at send_command method.
- Support for Juniper_screenOs
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from netdev.