Interface IpsecconnectionAttributes

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject
    All Known Subinterfaces:
    Ipsecsiteconnection

    public interface IpsecconnectionAttributes
    extends org.opendaylight.yangtools.yang.binding.DataObject

    This class represents the following YANG schema fragment defined in module neutron-vpnaas

     grouping ipsecconnection-attributes {
       leaf peer_address {
         type string;
       }
       leaf peer_id {
         type string;
       }
       leaf-list peer_cidrs {
         type string;
       }
       leaf route_mode {
         type string;
       }
       leaf mtu {
         type int16;
       }
       leaf auth_mode {
         type string;
       }
       leaf psk {
         type string;
       }
       leaf initiator {
         type string;
       }
       leaf ikepolicy-id {
         type yang:uuid;
       }
       leaf ipsecpolicy-id {
         type yang:uuid;
       }
       leaf vpnservice-id {
         type yang:uuid;
       }
       container dpd {
         leaf action {
           type string;
         }
         leaf interval {
           type int32;
         }
         leaf timeout {
           type int32;
         }
       }
     }
     
    The schema path to identify an instance is neutron-vpnaas/ipsecconnection-attributes
    • Field Detail

      • QNAME

        static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAME
    • Method Detail

      • implementedInterface

        Class<? extends IpsecconnectionAttributes> implementedInterface()
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataContainer
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
      • getPeerAddress

        String getPeerAddress()
        Peer gateway public IPv4/IPv6 address or FQDN
        Returns:
        java.lang.String peerAddress, or null if not present
      • getPeerId

        String getPeerId()
        Peer router identity for authentication
        Returns:
        java.lang.String peerId, or null if not present
      • getPeerCidrs

        @Nullable List<String> getPeerCidrs()
        Unique list of valid peer private CIDRs in the form &lt;net_address&gt;/&lt;prefix&gt;
        Returns:
        java.util.List peerCidrs, or null if not present
      • getRouteMode

        String getRouteMode()
        Route mode
        Returns:
        java.lang.String routeMode, or null if not present
      • getMtu

        Short getMtu()
        Maximum Transmission Unit to address fragmentation
        Returns:
        java.lang.Short mtu, or null if not present
      • getAuthMode

        String getAuthMode()
        Authentication mode
        Returns:
        java.lang.String authMode, or null if not present
      • getPsk

        String getPsk()
        Pre Shared Key
        Returns:
        java.lang.String psk, or null if not present
      • getInitiator

        String getInitiator()
        Whether this VPN can only respond to connections, response-only, or can initiate as well, bi-directional(default).
        Returns:
        java.lang.String initiator, or null if not present
      • getIkepolicyId

        org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid getIkepolicyId()
        Unique identifier of IKE policy.
        Returns:
        org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid ikepolicyId, or null if not present
      • getIpsecpolicyId

        org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid getIpsecpolicyId()
        Unique identifier of IPSec policy.
        Returns:
        org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid ipsecpolicyId, or null if not present
      • getVpnserviceId

        org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid getVpnserviceId()
        Unique identifier of VPN service.
        Returns:
        org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid vpnserviceId, or null if not present
      • getDpd

        Dpd getDpd()
        Dead Peer Detection protocol controls
        Returns:
        org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.vpnaas.rev150712.ipsecconnection.attributes.Dpd dpd, or null if not present