Skip to content

Commit edf1366

Browse files
committed
Merge branch 'main' into nodeSet-name-in-expalinability
2 parents fae4d64 + e57c857 commit edf1366

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

pkg/version/version.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ SPDX-License-Identifier: Apache-2.0
77
package version
88

99
// versionCore is the core portion of the vpc-network-config-analyzer CLI version per Semantic Versioning 2.0.0
10-
const VersionCore = "0.5.0"
10+
const VersionCore = "0.5.1"

vpcanalyzer_report.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ Run `vpcanalyzer report` with one of the following subcommands.
1010
* **`vpcanalyzer report endpoints`** - Each output line is of the form: `src => dst : connection` , where each of `src` and `dst` is either a VPC endpoint (instance network interface) or an external CIDR, and `connection` is the set of allowed protocols and their relevant connection attributes (e.g., allowed source ports and/or destination ports for TCP/UDP).
1111
* **`vpcanalyzer report subnets`** - Each output line is of the form: `src => dst : connection` , where each of `src` and `dst` is either a VPC subnet or an external CIDR, and `connection` is as explained for `vpcanalyzer report endpoints`.
1212
* **`vpcanalyzer report single-subnet`** - The output consists of sections; one section per subnet (section header is the subnet's CIDR block). Each section consists of two sub-sections: `ingressConnectivity` and `egressConnectivity`. These sections detail the allowed connectivity to/from the subnet, as configured by the subnet's NACL resource.
13+
* **`vpcanalyzer report routing`** - The output is the expected routing path between given source and destination endpoints, considering only VPC routing resources.
1314

1415
### Options
1516

@@ -65,3 +66,14 @@ provides this output:
6566
|-----|-----|------|
6667
| subnet1-ky | Public Internet (all ranges) | All Connections |
6768
| subnet1-ky,subnet2-ky,subnet3-ky | subnet1-ky,subnet2-ky,subnet3-ky | All Connections |
69+
70+
71+
Running
72+
```shell
73+
vpcanalyzer report routing -c pkg/ibmvpc/examples/input/input_hub_n_spoke_1.json --src 10.1.0.4 --dst 192.168.0.4
74+
```
75+
Provides this output:
76+
```
77+
path for src 10.1.0.4, dst 192.168.0.4:
78+
NetworkInterface - tvpc-spoke0-z1-worker[10.1.0.4] -> TGW - tvpc-tgw -> nextHop: 10.1.15.196 [origDest: 192.168.0.4]
79+
```

0 commit comments

Comments
 (0)