Interface NatserviceConfigData

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.DataRoot

    public interface NatserviceConfigData
    extends org.opendaylight.yangtools.yang.binding.DataRoot
    Configuration for nat-serviceImpl.

    This class represents the following YANG schema fragment defined in module natservice-config

     module natservice-config {
       yang-version 1;
       namespace urn:opendaylight:netvirt:natservice:config;
       prefix natservice-config;
       revision 2017-02-06 {
       }
       container natservice-config {
         leaf nat-mode {
           type enumeration {
             enum controller;
             enum conntrack;
           }
           default controller;
         }
         leaf snat-punt-timeout {
           type uint32;
           default 5;
         }
       }
     }
     
    • Method Detail

      • getNatserviceConfig

        @Nullable NatserviceConfig getNatserviceConfig()
        Returns:
        org.opendaylight.yang.gen.v1.urn.opendaylight.netvirt.natservice.config.rev170206.NatserviceConfig natserviceConfig, or null if not present