如何在不使用UNETSTACK中使用代理的情况下删除Groovy代码中的路由?
与unetstack shell一样
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
与unetstack shell一样
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(1)
请参阅使用
deleteroute()
构造方法创建,然后将其发送到提供路由
服务的代理。例如,如果要删除到节点10的所有路线,则看起来像:
Refer to the documentation for Routing service in the Unet handbook for how to do this. Essentially you need to send a
EditRouteReq
created using thedeleteRoute()
constructor method, and send it to the agent providing theROUTING
service.For example, if you want to delete all routes to node 10, this will look something like: