Class: Nl::Linux::Ovpn::Messages::DoPeerNewRequest
- Inherits:
-
Genl::Message
- Object
- Raw::Message
- Genl::Message
- Nl::Linux::Ovpn::Messages::DoPeerNewRequest
- Defined in:
- nl-linux/generated/nl/linux/ovpn.rb
Overview
Add a remote peer
Requires CAP_NET_ADMIN in the initial user namespace.
Constant Summary collapse
- TYPE =
1- FIXED_HEADER =
nil- ATTRIBUTE_SET =
AttributeSets::OvpnPeerNewInput
- ATTRIBUTES =
Ractor.make_shareable(%i[ifindex peer])
Instance Attribute Summary
Attributes included from StructuredPayload
Instance Method Summary collapse
-
#ifindex ⇒ Integer
Index of the ovpn interface to operate on.
-
#peer ⇒ AttributeSets::PeerNewInput
The peer object containing the attributed of interest for the specific operation.
Methods inherited from Genl::Message
Methods inherited from Raw::Message
#append_attribute, decode, #initialize
Methods included from StructuredPayload
Constructor Details
This class inherits a constructor from Nl::Raw::Message
Instance Method Details
#ifindex ⇒ Integer
Index of the ovpn interface to operate on
1588 |
# File 'nl-linux/generated/nl/linux/ovpn.rb', line 1588 def ifindex; attributes[:"ifindex"]&.value; end |
#peer ⇒ AttributeSets::PeerNewInput
The peer object containing the attributed of interest for the specific operation
1593 |
# File 'nl-linux/generated/nl/linux/ovpn.rb', line 1593 def peer; attributes[:"peer"]&.value; end |