Skip to content

Commit

Permalink
Merge pull request #45 from f5devcentral/v1.4.0
Browse files Browse the repository at this point in the history
V1.4.0
  • Loading branch information
DumpySquare authored Oct 26, 2023
2 parents 2727cdd + bfbf0ac commit 8313344
Show file tree
Hide file tree
Showing 17 changed files with 5,084 additions and 5,407 deletions.
1 change: 0 additions & 1 deletion .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@
"type": "node",
"request": "launch",
"name": "Mocha All",
"runtimeVersion": "16",
"program": "${workspaceFolder}/node_modules/mocha/bin/_mocha",
"args": [
"-r",
Expand Down
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,15 @@ Check [Keep a Changelog](http://keepachangelog.com/) for recommendations on how



---

## [1.4.0] - (07.11.2023)

### Fixed

- fixed initial why nesting of vs rank
- fixed UCS parsing bug related to non qkview files

---

## [1.3.0] - (07.11.2023)
Expand Down
25 changes: 25 additions & 0 deletions co-pilot_irules_examples.irul
Original file line number Diff line number Diff line change
Expand Up @@ -60,3 +60,28 @@ when HTTP_RESPONSE {
log local0. "http response: [IP::server_addr]:[TCP::server_port] -> [IP::client_addr]:[TCP::client_port] [HTTP::status] [HTTP::reason]"
}


# create an irule to forward traffic to pool based on uri
cat <<EOF > /config/uri_pool.irule
when HTTP_REQUEST {
if { [HTTP::uri] starts_with "/example" } {
pool www.example.com
}
elseif { [HTTP::uri] starts_with "/example2" } {
pool www.example2.com
}
else {
pool www.example.com
}
}

# create an irule to respond to a tcp connection with "got it"
cat <<EOF > /config/tcp_got_it.irule
when CLIENT_ACCEPTED {
TCP::collect
}

when CLIENT_DATA {
TCP::release
TCP::respond "got it"
}
18 changes: 12 additions & 6 deletions exampleRankings1.json
Original file line number Diff line number Diff line change
Expand Up @@ -350,8 +350,10 @@
"score": 16,
"name": "/Common/test_listener_u53_vs",
"why": [
"pkts_in",
3,
[
"pkts_in",
3
],
[
"bytes_in",
3
Expand All @@ -378,8 +380,10 @@
"score": 8,
"name": "/Common/dns_listener_coreltm2_udp53_vs",
"why": [
"pkts_in",
2,
[
"pkts_in",
2
],
[
"bytes_in",
2
Expand All @@ -398,8 +402,10 @@
"score": 6,
"name": "/Common/russ.app/russ_iqdash_t80_vs",
"why": [
"pkts_in",
1,
[
"pkts_in",
1
],
[
"bytes_in",
1
Expand Down
Loading

0 comments on commit 8313344

Please sign in to comment.