Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

document few more cli examples using docker in readme #181

Open
glimchb opened this issue Sep 13, 2023 · 1 comment
Open

document few more cli examples using docker in readme #181

glimchb opened this issue Sep 13, 2023 · 1 comment
Labels
documentation Improvements or additions to documentation

Comments

@glimchb
Copy link
Member

glimchb commented Sep 13, 2023

it took me a minute to make it work, so think it is helpful for people to have this info documented

$ docker run --rm -it --network=container:opi-evpn-bridge-opi-evpn-bridge-1 docker.io/namely/grpc-cli ls localhost:50151
grpc.reflection.v1.ServerReflection
grpc.reflection.v1alpha.ServerReflection
opi_api.network.evpn_gw.v1alpha1.BridgePortService
opi_api.network.evpn_gw.v1alpha1.LogicalBridgeService
opi_api.network.evpn_gw.v1alpha1.SviService
opi_api.network.evpn_gw.v1alpha1.VrfService

and

$ docker run --rm -it --network=container:opi-evpn-bridge-opi-evpn-bridge-1 docker.io/opiproject/godpu:main evpn list-vrfs --addr=localhost:50151
2023/09/13 17:00:21 VRF with
 name: //network.opiproject.org/vrfs/blue
 operation status: 0
 vni : 0
 vtep ip : addr:{af:IP_AF_INET v4_addr:167772162} len:32
 loopback ip: addr:{af:IP_AF_INET v4_addr:167772418} len:32
2023/09/13 17:00:21 VRF with
 name: //network.opiproject.org/vrfs/green
 operation status: 0
 vni : 100
 vtep ip : addr:{af:IP_AF_INET v4_addr:167772162} len:32
 loopback ip: addr:{af:IP_AF_INET v4_addr:167772674} len:32
2023/09/13 17:00:21 VRF with
 name: //network.opiproject.org/vrfs/yellow
 operation status: 0
 vni : 101
 vtep ip : addr:{af:IP_AF_INET v4_addr:167772162} len:32
 loopback ip: addr:{af:IP_AF_INET v4_addr:167772930} len:32
@glimchb
Copy link
Member Author

glimchb commented Sep 13, 2023

added one example here c1f0da9

@glimchb glimchb added the documentation Improvements or additions to documentation label Oct 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant