/AWS1/CL_DCO=>CREATEINTERCONNECT()
¶
About CreateInterconnect¶
Creates an interconnect between an Direct Connect Partner's network and a specific Direct Connect location.
An interconnect is a connection that is capable of hosting other connections. The Direct Connect Partner can use an interconnect to provide Direct Connect hosted connections to customers through their own network services. Like a standard connection, an interconnect links the partner's network to an Direct Connect location over a standard Ethernet fiber-optic cable. One end is connected to the partner's router, the other to an Direct Connect router.
You can automatically add the new interconnect to a link aggregation group (LAG) by specifying a LAG ID in the request. This ensures that the new interconnect is allocated on the same Direct Connect endpoint that hosts the specified LAG. If there are no available ports on the endpoint, the request fails and no interconnect is created.
For each end customer, the Direct Connect Partner provisions a connection on their interconnect by calling AllocateHostedConnection. The end customer can then connect to Amazon Web Services resources by creating a virtual interface on their connection, using the VLAN assigned to them by the Direct Connect Partner.
Intended for use by Direct Connect Partners only.
Method Signature¶
IMPORTING¶
Required arguments:¶
iv_interconnectname
TYPE /AWS1/DCOINTERCONNECTNAME
/AWS1/DCOINTERCONNECTNAME
¶
The name of the interconnect.
iv_bandwidth
TYPE /AWS1/DCOBANDWIDTH
/AWS1/DCOBANDWIDTH
¶
The port bandwidth, in Gbps. The possible values are 1, 10, and 100.
iv_location
TYPE /AWS1/DCOLOCATIONCODE
/AWS1/DCOLOCATIONCODE
¶
The location of the interconnect.
Optional arguments:¶
iv_lagid
TYPE /AWS1/DCOLAGID
/AWS1/DCOLAGID
¶
The ID of the LAG.
it_tags
TYPE /AWS1/CL_DCOTAG=>TT_TAGLIST
TT_TAGLIST
¶
The tags to associate with the interconnect.
iv_providername
TYPE /AWS1/DCOPROVIDERNAME
/AWS1/DCOPROVIDERNAME
¶
The name of the service provider associated with the interconnect.
RETURNING¶
oo_output
TYPE REF TO /aws1/cl_dcointerconnect
/AWS1/CL_DCOINTERCONNECT
¶
Domain /AWS1/RT_ACCOUNT_ID Primitive Type NUMC
Examples¶
Syntax Example¶
This is an example of the syntax for calling the method. It includes every possible argument and initializes every possible value. The data provided is not necessarily semantically accurate (for example the value "string" may be provided for something that is intended to be an instance ID, or in some cases two arguments may be mutually exclusive). The syntax shows the ABAP syntax for creating the various data structures.
DATA(lo_result) = lo_client->/aws1/if_dco~createinterconnect(
it_tags = VALUE /aws1/cl_dcotag=>tt_taglist(
(
new /aws1/cl_dcotag(
iv_key = |string|
iv_value = |string|
)
)
)
iv_bandwidth = |string|
iv_interconnectname = |string|
iv_lagid = |string|
iv_location = |string|
iv_providername = |string|
).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
lv_interconnectid = lo_result->get_interconnectid( ).
lv_interconnectname = lo_result->get_interconnectname( ).
lv_interconnectstate = lo_result->get_interconnectstate( ).
lv_region = lo_result->get_region( ).
lv_locationcode = lo_result->get_location( ).
lv_bandwidth = lo_result->get_bandwidth( ).
lv_loaissuetime = lo_result->get_loaissuetime( ).
lv_lagid = lo_result->get_lagid( ).
lv_awsdevice = lo_result->get_awsdevice( ).
lv_jumboframecapable = lo_result->get_jumboframecapable( ).
lv_awsdevicev2 = lo_result->get_awsdevicev2( ).
lv_awslogicaldeviceid = lo_result->get_awslogicaldeviceid( ).
lv_haslogicalredundancy = lo_result->get_haslogicalredundancy( ).
LOOP AT lo_result->get_tags( ) into lo_row.
lo_row_1 = lo_row.
IF lo_row_1 IS NOT INITIAL.
lv_tagkey = lo_row_1->get_key( ).
lv_tagvalue = lo_row_1->get_value( ).
ENDIF.
ENDLOOP.
lv_providername = lo_result->get_providername( ).
ENDIF.