diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 3563554..b886343 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -20,7 +20,7 @@ builds: archives: - formats: [tar.gz] name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}" - files: [README.md] + files: [README.md, LICENSE] checksum: name_template: checksums.txt diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..84506e5 --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2026 Noppakorn Kaewsalabnil + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/README.md b/README.md index 1659ca4..b90c373 100644 --- a/README.md +++ b/README.md @@ -86,3 +86,7 @@ OpenSDN introspect has no authentication. Ask the environment owner for access t ## Brand The logo, icons and usage rules are in [brand/README.md](brand/README.md). + +## License + +plumb is released under the [MIT License](LICENSE). diff --git a/docs/quickstart.md b/docs/quickstart.md index d7ff307..5880981 100644 --- a/docs/quickstart.md +++ b/docs/quickstart.md @@ -53,6 +53,7 @@ Now scroll up to the `Port` line, which is the last part of the tree. This examp ├─ Neutron ACTIVE vif_type=vrouter host=compute-02 ├─ Config VMI default-domain:admin:9c1e4d2b-… ✓ same UUID as the port ├─ Control control-01 vn1:vn1.inet.0 10.0.1.5/32 ✓ + ├─ Control control-02 vn1:vn1.inet.0 10.0.1.5/32 ✓ └─ vRouter tap9c1e4d2b-7a ✓ active vrf vn1:vn1 (index 3) label 25 ``` diff --git a/docs/run-against-a-lab.md b/docs/run-against-a-lab.md index 36dd1d6..b5ba030 100644 --- a/docs/run-against-a-lab.md +++ b/docs/run-against-a-lab.md @@ -43,7 +43,7 @@ The binary needs no other libraries, so you don't need to install Go on the serv plumb link --config-url http://config_node_ip:8082 ``` - plumb saves this URL in `~/.config/plumb/config.json` with the cloud's `OS_AUTH_URL`. The `trace` and `doctor` commands then use this URL each time you source this cloud's openrc. + plumb saves this URL with the cloud's `OS_AUTH_URL` in its config file, `~/.config/plumb/config.json` by default. [CLI reference](cli-reference.md) explains how `XDG_CONFIG_HOME` and `PLUMB_CONFIG` change the path. The `trace` and `doctor` commands then use this URL each time you source this cloud's openrc. 3. Run `doctor`: diff --git a/package.json b/package.json index 7c06479..bc3acdd 100644 --- a/package.json +++ b/package.json @@ -1,10 +1,12 @@ { "name": "plumb-monorepo", "private": true, + "license": "MIT", "workspaces": [ "apps/*", "packages/*" ], + "type": "module", "scripts": { "build": "turbo run build", "test": "turbo run test",