Skip to content

Latest commit

 

History

History
109 lines (68 loc) · 3.65 KB

VportsApi.md

File metadata and controls

109 lines (68 loc) · 3.65 KB

\VportsApi

All URIs are relative to https://penapi.pacnetconnect.com

Method HTTP request Description
InventoryRegularvportPost Post /1.0.0/inventory/regularvport Create VPort for physical endpoint
InventoryVnfVportPost Post /1.0.0/inventory/vnf/vport Create VNF VPort
InventoryVportByVportuuidGet Get /1.0.0/inventory/vport/{vportuuid} Get information about the specified VPort

InventoryRegularvportPost

InventoryRegularvportResponse InventoryRegularvportPost(ctx, optional) Create VPort for physical endpoint

Create VPort representing a VLAN on a Physical Ethernet Port

Required Parameters

Name Type Description Notes
ctx context.Context context for logging, tracing, authentication, etc.
optional map[string]interface{} optional parameters nil if no parameters

Optional Parameters

Optional parameters are passed through a map[string]interface{}.

Name Type Description Notes
body InventoryRegularvportRequest

Return type

InventoryRegularvportResponse

Authorization

auth

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

InventoryVnfVportPost

InventoryVnfVportResponse InventoryVnfVportPost(ctx, optional) Create VNF VPort

Create VNF VPort

Required Parameters

Name Type Description Notes
ctx context.Context context for logging, tracing, authentication, etc.
optional map[string]interface{} optional parameters nil if no parameters

Optional Parameters

Optional parameters are passed through a map[string]interface{}.

Name Type Description Notes
body InventoryVnfVportRequest

Return type

InventoryVnfVportResponse

Authorization

auth

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

InventoryVportByVportuuidGet

[]EndpointPort InventoryVportByVportuuidGet(ctx, vportuuid) Get information about the specified VPort

Get information about the specified VPort

Required Parameters

Name Type Description Notes
ctx context.Context context for logging, tracing, authentication, etc.
vportuuid string Unique identifier representing a specific virtual port

Return type

[]EndpointPort

Authorization

auth

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]