How does openstack4j query routes and external gateway information of routes?
How to query routing and routing external gateway information by openstack4j? for this problem, this article introduces the corresponding analysis and solution in detail, hoping to help more partners who want to solve this problem to find a more simple and feasible method.
Go directly to the code
/ / obtain connection OSClientV3 os=getOSClientV3 (tenantid,user_id,password,region); / / obtain network service NetworkingService ns = os.networking (); / / obtain routing List