macsec.proto¶
MacsecMgrService¶
watch¶
rpc watch(MacsecWatchRequest) MacsecWatchResponse
Register to receive notifications.
exists¶
rpc exists(MacsecExistsRequest) MacsecExistsResponse
Returns whether or not a profile with the given name exists.
profile¶
rpc profile(MacsecProfileRequest) MacsecProfileResponse
Returns the MACsec profile with the given name, if no profile is found, the response is empty.
profile_set¶
rpc profile_set(MacsecProfileSetRequest) MacsecProfileSetResponse
Writes the given profile to MACsec config. If a profile with the given name already exists, it will be updated with the given fields.
bulk_profile_set¶
rpc bulk_profile_set(BulkMacsecProfileSetRequest) BulkMacsecProfileSetResponse
Bulk version of profile_set.
profile_del¶
rpc profile_del(MacsecProfileDelRequest) MacsecProfileDelResponse
Deletes the profile with the given name if such a profile exists.
bulk_profile_del¶
rpc bulk_profile_del(BulkMacsecProfileDelRequest) BulkMacsecProfileDelResponse
Bulk version of profile_del.
intf_profile¶
rpc intf_profile(MacsecIntfProfileRequest) MacsecIntfProfileResponse
Returns the profile name of the profile attached to the interface. If there is no profile configured, return an empty message.
intf_profile_is¶
rpc intf_profile_is(MacsecIntfProfileIsRequest) MacsecIntfProfileIsResponse
Configures the given interface to use the given MACsec profile.
bulk_intf_profile_is¶
rpc bulk_intf_profile_is(BulkMacsecIntfProfileIsRequest) BulkMacsecIntfProfileIsResponse
Bulk version of intf_profile_set.
macsec_capable¶
rpc macsec_capable(MacsecCapableRequest) MacsecCapableResponse
Returns whether or not an interface supports MACsec.
intf_status¶
rpc intf_status(MacsecIntfStatusRequest) MacsecIntfStatusResponse
Returns the MACsec related status information of the given interface.
intf_counters¶
rpc intf_counters(MacsecIntfCountersRequest) MacsecIntfCountersResponse
Returns the current MACsec counters for the given interface.
macsec_profiles¶
rpc macsec_profiles(MacsecProfilesRequest) MacsecProfilesResponse
Returns all MACsec profile config.
macsec_intf_statuses¶
rpc macsec_intf_statuses(MacsecIntfStatusesRequest) MacsecIntfStatusesResponse
Returns all MACsec intf status.
Messages¶
BulkMacsecIntfProfileIsRequest¶
| Name | Value | Description |
|---|---|---|
| requests | repeated MacsecIntfProfileIsRequest |
BulkMacsecIntfProfileIsResponse¶
| Name | Value | Description |
|---|---|---|
| processed | uint64 | |
| status | RpcResponseStatus |
BulkMacsecProfileDelRequest¶
| Name | Value | Description |
|---|---|---|
| requests | repeated MacsecProfileDelRequest |
BulkMacsecProfileDelResponse¶
| Name | Value | Description |
|---|---|---|
| processed | uint64 | |
| status | RpcResponseStatus |
BulkMacsecProfileSetRequest¶
| Name | Value | Description |
|---|---|---|
| requests | repeated MacsecProfileSetRequest |
BulkMacsecProfileSetResponse¶
| Name | Value | Description |
|---|---|---|
| processed | uint64 | |
| status | RpcResponseStatus |
MacsecCapableRequest¶
| Name | Value | Description |
|---|---|---|
| intf_id | IntfId |
MacsecCapableResponse¶
| Name | Value | Description |
|---|---|---|
| macsec_capable | bool |
MacsecExistsRequest¶
| Name | Value | Description |
|---|---|---|
| profile_name | string |
MacsecExistsResponse¶
| Name | Value | Description |
|---|---|---|
| exists | bool |
MacsecIntfCountersRequest¶
| Name | Value | Description |
|---|---|---|
| intf_id | IntfId |
MacsecIntfCountersResponse¶
| Name | Value | Description |
|---|---|---|
| counters | MacsecIntfCounters |
MacsecIntfProfileIsRequest¶
| Name | Value | Description |
|---|---|---|
| intf_id | IntfId | |
| profile_name | string |
MacsecIntfProfileIsResponse¶
| Name | Value | Description |
|---|---|---|
| response_status | RpcResponseStatus |
MacsecIntfProfileRequest¶
| Name | Value | Description |
|---|---|---|
| intf_id | IntfId |
MacsecIntfProfileResponse¶
| Name | Value | Description |
|---|---|---|
| profile_name | string |
MacsecIntfStatusRequest¶
| Name | Value | Description |
|---|---|---|
| intf_id | IntfId |
MacsecIntfStatusResponse¶
| Name | Value | Description |
|---|---|---|
| status | MacsecIntfStatus |
MacsecIntfStatusesRequest¶
Empty message.
MacsecIntfStatusesResponse¶
| Name | Value | Description |
|---|---|---|
| intf_id | IntfId |
MacsecProfileDelRequest¶
| Name | Value | Description |
|---|---|---|
| profile_name | string |
MacsecProfileDelResponse¶
Empty message.
MacsecProfileRequest¶
| Name | Value | Description |
|---|---|---|
| profile_name | string |
MacsecProfileResponse¶
| Name | Value | Description |
|---|---|---|
| profile | MacsecProfile |
MacsecProfileSetRequest¶
| Name | Value | Description |
|---|---|---|
| profile | MacsecProfile |
MacsecProfileSetResponse¶
| Name | Value | Description |
|---|---|---|
| response_status | RpcResponseStatus |
MacsecProfilesRequest¶
Empty message.
MacsecProfilesResponse¶
| Name | Value | Description |
|---|---|---|
| name | string |
MacsecWatchRequest¶
| Name | Value | Description |
|---|---|---|
| oneof overloads.all_intfs | bool | |
| oneof overloads.intf_id | IntfId | |
| ack | bool |
MacsecWatchResponse¶
| Name | Value | Description |
|---|---|---|
| intf_id | IntfId | |
| status | MacsecIntfStatus | |
| ack | bool |