Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
- perle: remove trailing \r (the device sends \r\r\n) (@robertcheramy)
- Reintroduce support for Ruby 3.0. Fixes #3688 (@robertcheramy)
- githubrepo: fix authentication with ssh-agent not working. Fixes #3420 (@robertcheramy)
- fastiron: adjust prompt to account for stacks, remove time from stack output. Fixes #3106 (@ManoftheSea)


## [0.35.0 - 2025-12-04]
Expand Down
4 changes: 2 additions & 2 deletions lib/oxidized/model/fastiron.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
class FastIron < Oxidized::Model
using Refinements

prompt /^([\w.@()-]+[#>]\s?)$/
prompt /^([\w.@\/()-]+[#>]\s?)$/
comment '! '

cmd :all do |cfg|
Expand Down Expand Up @@ -43,7 +43,7 @@ class FastIron < Oxidized::Model
comment cfg
end

cmd 'show stack' do |cfg|
cmd 'show stack | exclude T=' do |cfg|
comment cfg
end

Expand Down
4 changes: 4 additions & 0 deletions spec/model/data/fastiron#generic#prompt.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
pass:
- "SSH@switch-001#"
# Issue #3106 / PR #3579
- "SSH@switch-001/002/003/123#"