networkΒΆ
Usage:
import ecl
conn = ecl.connection.Connection(
auth_url="https://keystone-<region>-ecl.api.ntt.com/v3/",
project_id="Tenant ID",
username="API Key",
password="API Secret Key",
user_domain_id="default",
project_domain_id="default")
network = conn.network.get_network("<network_id>")
print network.name
You can use methods corresponding to API like conn.network.<method>
Please refer to network methods
below to check available methods.
- network methods
- aws
- base
- colocation_logical_link
- colocation_physical_link
- colocation_space
- common_function
- common_function_gateway
- common_function_pool
- extension
- firewall
- firewall_action
- firewall_interface
- firewall_plan
- gw_interface
- interdc
- internet
- load_balancer
- load_balancer_action
- load_balancer_interface
- load_balancer_plan
- load_balancer_syslog_server
- network
- physical_port
- port
- publicip
- qos_option
- quota
- reserved_address
- static_route
- subnet
- tenant_connection
- vpn