You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/** MACsec configuration information. When patching any macsec_config fields, no other fields may be specified
1242
+
* in the patch request. Contact IBM support for access to MACsec.
1243
+
*
1244
+
* Keys used for MACsec configuration must have names with an even number of characters from [0-9a-fA-F].
1245
+
*/
1246
+
macsecConfig?: GatewayMacsecConfigPatchTemplate;
1185
1247
/** Metered billing option. When `true` gateway usage is billed per gigabyte. When `false` there is no per
1186
1248
* gigabyte usage charge, instead a flat rate is charged for the gateway.
1187
1249
*/
@@ -1275,6 +1337,24 @@ namespace DirectLinkV1 {
1275
1337
headers?: OutgoingHttpHeaders;
1276
1338
}
1277
1339
1340
+
/** Parameters for the `getGatewayStatistics` operation. */
1341
+
exportinterfaceGetGatewayStatisticsParams{
1342
+
/** Direct Link Dedicated gateway identifier. */
1343
+
id: string;
1344
+
/** specify statistic to retrieve. */
1345
+
type: GetGatewayStatisticsConstants.Type|string;
1346
+
headers?: OutgoingHttpHeaders;
1347
+
}
1348
+
1349
+
/** Constants for the `getGatewayStatistics` operation. */
1350
+
exportnamespaceGetGatewayStatisticsConstants{
1351
+
/** specify statistic to retrieve. */
1352
+
exportenumType{
1353
+
MACSEC_MKA='macsec_mka',
1354
+
MACSEC_SECURITY='macsec_security',
1355
+
}
1356
+
}
1357
+
1278
1358
/** Parameters for the `listOfferingTypeLocations` operation. */
1279
1359
exportinterfaceListOfferingTypeLocationsParams{
1280
1360
/** The Direct Link offering type. Current supported values are `"dedicated"` and `"connect"`. */
@@ -1476,6 +1556,10 @@ namespace DirectLinkV1 {
1476
1556
location_display_name: string;
1477
1557
/** Gateway location. */
1478
1558
location_name: string;
1559
+
/** MACsec configuration information. For Dedicated Gateways with MACsec configured, return configuration
1560
+
* information. Contact IBM support for access to MACsec.
1561
+
*/
1562
+
macsec_config?: GatewayMacsecConfig;
1479
1563
/** Metered billing option. When `true` gateway usage is billed per gigabyte. When `false` there is no per
1480
1564
* gigabyte usage charge, instead a flat rate is charged for the gateway.
1481
1565
*/
@@ -1516,6 +1600,84 @@ namespace DirectLinkV1 {
1516
1600
gateways: Gateway[];
1517
1601
}
1518
1602
1603
+
/** MACsec connectivity association key. */
1604
+
exportinterfaceGatewayMacsecCak{
1605
+
/** connectivity association key. */
1606
+
crn: string;
1607
+
}
1608
+
1609
+
/** MACsec configuration information. For Dedicated Gateways with MACsec configured, return configuration information. Contact IBM support for access to MACsec. */
1610
+
exportinterfaceGatewayMacsecConfig{
1611
+
/** Indicate whether MACsec protection should be active (true) or inactive (false) for this MACsec enabled
1612
+
* gateway.
1613
+
*/
1614
+
active: boolean;
1615
+
/** Active connectivity association key. Normally will be the same as the primary_cak. During CAK changes this
1616
+
* field can be used to indicate which key is currently active.
1617
+
*/
1618
+
active_cak?: GatewayMacsecCak;
1619
+
/** SAK cipher suite. */
1620
+
cipher_suite?: string;
1621
+
/** confidentiality offset. */
1622
+
confidentiality_offset: number;
1623
+
/** cryptographic algorithm. */
1624
+
cryptographic_algorithm?: string;
1625
+
/** fallback connectivity association key. */
1626
+
fallback_cak?: GatewayMacsecCak;
1627
+
/** key server priority. */
1628
+
key_server_priority?: number;
1629
+
/** desired primary connectivity association key. */
1630
+
primary_cak: GatewayMacsecCak;
1631
+
/** Secure Association Key (SAK) expiry time in seconds. */
1632
+
sak_expiry_time?: number;
1633
+
/** The current status of MACsec on the device for this gateway. Status 'unknown' is returned during gateway
1634
+
* creation and deletion.
1635
+
*/
1636
+
status: string;
1637
+
/** replay protection window size. */
1638
+
window_size?: number;
1639
+
}
1640
+
1641
+
/** MACsec configuration information. When patching any macsec_config fields, no other fields may be specified in the patch request. Contact IBM support for access to MACsec. Keys used for MACsec configuration must have names with an even number of characters from [0-9a-fA-F]. */
1642
+
exportinterfaceGatewayMacsecConfigPatchTemplate{
1643
+
/** Indicate whether MACsec protection should be active (true) or inactive (false) for this MACsec enabled
1644
+
* gateway.
1645
+
*/
1646
+
active?: boolean;
1647
+
/** Fallback connectivity association key. Keys used for MACsec configuration must have names with an even
1648
+
* number of characters from [0-9a-fA-F].
1649
+
*/
1650
+
fallback_cak?: GatewayMacsecCak;
1651
+
/** Desired primary connectivity association key. Keys for a MACsec configuration must have names with an even
1652
+
* number of characters from [0-9a-fA-F].
1653
+
*/
1654
+
primary_cak?: GatewayMacsecCak;
1655
+
/** Secure Association Key (SAK) expiry time in seconds. */
1656
+
sak_expiry_time?: number;
1657
+
/** replay protection window size. */
1658
+
window_size?: number;
1659
+
}
1660
+
1661
+
/** MACsec configuration information. Contact IBM support for access to MACsec. Keys used for MACsec configuration must have names with an even number of characters from [0-9a-fA-F]. */
1662
+
exportinterfaceGatewayMacsecConfigTemplate{
1663
+
/** Indicate whether MACsec protection should be active (true) or inactive (false) for this MACsec enabled
1664
+
* gateway.
1665
+
*/
1666
+
active: boolean;
1667
+
/** Fallback connectivity association key. Keys used for MACsec configuration must have names with an even
1668
+
* number of characters from [0-9a-fA-F].
1669
+
*/
1670
+
fallback_cak?: GatewayMacsecCak;
1671
+
/** Desired primary connectivity association key. Keys used for MACsec configuration must have names with an
1672
+
* even number of characters from [0-9a-fA-F].
1673
+
*/
1674
+
primary_cak: GatewayMacsecCak;
1675
+
/** Secure Association Key (SAK) expiry time in seconds. */
1676
+
sak_expiry_time?: number;
1677
+
/** replay protection window size. */
1678
+
window_size?: number;
1679
+
}
1680
+
1519
1681
/** gateway port for type=connect gateways. */
1520
1682
exportinterfaceGatewayPort{
1521
1683
/** Port Identifier. */
@@ -1528,6 +1690,22 @@ namespace DirectLinkV1 {
1528
1690
id: string;
1529
1691
}
1530
1692
1693
+
/** MACsec statistics. */
1694
+
exportinterfaceGatewayStatistic{
1695
+
/** Date and time data was collected. */
1696
+
created_at: string;
1697
+
/** statistics output. */
1698
+
data: string;
1699
+
/** statistic type. */
1700
+
type: string;
1701
+
}
1702
+
1703
+
/** gateway statistics. */
1704
+
exportinterfaceGatewayStatisticCollection{
1705
+
/** Collection of gateway statistics. */
1706
+
statistics: GatewayStatistic[];
1707
+
}
1708
+
1531
1709
/** Create gateway template. */
1532
1710
exportinterfaceGatewayTemplate{
1533
1711
/** BGP ASN. */
@@ -1622,6 +1800,10 @@ namespace DirectLinkV1 {
1622
1800
display_name: string;
1623
1801
/** Location type. */
1624
1802
location_type: string;
1803
+
/** Indicate whether location supports MACsec. Only returned for gateway type=dedicated locations. Contact IBM
1804
+
* support for access to MACsec.
1805
+
*/
1806
+
macsec_enabled?: boolean;
1625
1807
/** Location market. */
1626
1808
market: string;
1627
1809
/** Location geography. Only present for locations where provisioning is enabled. */
@@ -1642,6 +1824,10 @@ namespace DirectLinkV1 {
1642
1824
exportinterfaceOfferingSpeed{
1643
1825
/** Link speed in megabits per second. */
1644
1826
link_speed: number;
1827
+
/** Indicate whether speed supports MACsec. Only returned for gateway type=dedicated speeds. Contact IBM
1828
+
* support for access to MACsec.
1829
+
*/
1830
+
macsec_enabled?: boolean;
1645
1831
}
1646
1832
1647
1833
/** OfferingSpeedCollection. */
@@ -1744,6 +1930,11 @@ namespace DirectLinkV1 {
1744
1930
customer_name: string;
1745
1931
/** Gateway location. */
1746
1932
location_name: string;
1933
+
/** MACsec configuration information. Contact IBM support for access to MACsec.
1934
+
*
1935
+
* Keys used for MACsec configuration must have names with an even number of characters from [0-9a-fA-F].
0 commit comments