<spanid="com-vmware-nsx-policy-infra-tier-1s-locale-services-l2vpn-services-package"></span><h1>com.vmware.nsx_policy.infra.tier_1s.locale_services.l2vpn_services package<aclass="headerlink"href="#module-com.vmware.nsx_policy.infra.tier_1s.locale_services.l2vpn_services"title="Permalink to this headline">¶</a></h1>
<spanid="com-vmware-nsx-policy-infra-tier-1s-locale-services-l2vpn-services-sessions-client-module"></span><h2>com.vmware.nsx_policy.infra.tier_1s.locale_services.l2vpn_services.sessions_client module<aclass="headerlink"href="#module-com.vmware.nsx_policy.infra.tier_1s.locale_services.l2vpn_services.sessions_client"title="Permalink to this headline">¶</a></h2>
<emclass="property">class </em><codeclass="sig-prename descclassname">com.vmware.nsx_policy.infra.tier_1s.locale_services.l2vpn_services.sessions_client.</code><codeclass="sig-name descname">DetailedStatus</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">config</span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.nsx_policy.infra.tier_1s.locale_services.l2vpn_services.sessions_client.DetailedStatus"title="Permalink to this definition">¶</a></dt>
<ddclass="field-odd"><p><strong>config</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">vmware.vapi.bindings.stub.StubConfiguration</span></code>) – Configuration to be used for creating the stub.</p>
<codeclass="sig-name descname">GET_SOURCE_CACHED</code><emclass="property"> = 'cached'</em><aclass="headerlink"href="#com.vmware.nsx_policy.infra.tier_1s.locale_services.l2vpn_services.sessions_client.DetailedStatus.GET_SOURCE_CACHED"title="Permalink to this definition">¶</a></dt>
<dd><p>Possible value for <codeclass="docutils literal notranslate"><spanclass="pre">source</span></code> of method <aclass="reference internal"href="#com.vmware.nsx_policy.infra.tier_1s.locale_services.l2vpn_services.sessions_client.DetailedStatus.get"title="com.vmware.nsx_policy.infra.tier_1s.locale_services.l2vpn_services.sessions_client.DetailedStatus.get"><codeclass="xref py py-func docutils literal notranslate"><spanclass="pre">DetailedStatus.get()</span></code></a>.</p>
<codeclass="sig-name descname">GET_SOURCE_REALTIME</code><emclass="property"> = 'realtime'</em><aclass="headerlink"href="#com.vmware.nsx_policy.infra.tier_1s.locale_services.l2vpn_services.sessions_client.DetailedStatus.GET_SOURCE_REALTIME"title="Permalink to this definition">¶</a></dt>
<dd><p>Possible value for <codeclass="docutils literal notranslate"><spanclass="pre">source</span></code> of method <aclass="reference internal"href="#com.vmware.nsx_policy.infra.tier_1s.locale_services.l2vpn_services.sessions_client.DetailedStatus.get"title="com.vmware.nsx_policy.infra.tier_1s.locale_services.l2vpn_services.sessions_client.DetailedStatus.get"><codeclass="xref py py-func docutils literal notranslate"><spanclass="pre">DetailedStatus.get()</span></code></a>.</p>
<codeclass="sig-name descname">get</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">tier1_id</span></em>, <emclass="sig-param"><spanclass="n">locale_service_id</span></em>, <emclass="sig-param"><spanclass="n">service_id</span></em>, <emclass="sig-param"><spanclass="n">session_id</span></em>, <emclass="sig-param"><spanclass="n">enforcement_point_path</span><spanclass="o">=</span><spanclass="default_value">None</span></em>, <emclass="sig-param"><spanclass="n">source</span><spanclass="o">=</span><spanclass="default_value">None</span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.nsx_policy.infra.tier_1s.locale_services.l2vpn_services.sessions_client.DetailedStatus.get"title="Permalink to this definition">¶</a></dt>
<li><p><strong>enforcement_point_path</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – String Path of the enforcement point (optional)</p></li>
<li><p><strong>source</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Data source type. (optional)</p></li>
<emclass="property">class </em><codeclass="sig-prename descclassname">com.vmware.nsx_policy.infra.tier_1s.locale_services.l2vpn_services.sessions_client.</code><codeclass="sig-name descname">PeerConfig</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">config</span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.nsx_policy.infra.tier_1s.locale_services.l2vpn_services.sessions_client.PeerConfig"title="Permalink to this definition">¶</a></dt>
<ddclass="field-odd"><p><strong>config</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">vmware.vapi.bindings.stub.StubConfiguration</span></code>) – Configuration to be used for creating the stub.</p>
<codeclass="sig-name descname">get</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">tier1_id</span></em>, <emclass="sig-param"><spanclass="n">locale_service_id</span></em>, <emclass="sig-param"><spanclass="n">service_id</span></em>, <emclass="sig-param"><spanclass="n">session_id</span></em>, <emclass="sig-param"><spanclass="n">enforcement_point_path</span><spanclass="o">=</span><spanclass="default_value">None</span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.nsx_policy.infra.tier_1s.locale_services.l2vpn_services.sessions_client.PeerConfig.get"title="Permalink to this definition">¶</a></dt>
<dd><p>Get peer config for the Tier-1 L2VPN session to configure the remote
side of the tunnel. - no enforcement point path specified: L2VPN
Session Peer Codes will be evaluated on each enforcement point. -
enforcement point paths specified: L2VPN Session Peer Codes are
evaluated only on the given enforcement points. API supported only when
<li><p><strong>enforcement_point_path</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – String Path of the enforcement point (optional)</p></li>
<emclass="property">class </em><codeclass="sig-prename descclassname">com.vmware.nsx_policy.infra.tier_1s.locale_services.l2vpn_services.sessions_client.</code><codeclass="sig-name descname">RemoteMac</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">config</span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.nsx_policy.infra.tier_1s.locale_services.l2vpn_services.sessions_client.RemoteMac"title="Permalink to this definition">¶</a></dt>
<ddclass="field-odd"><p><strong>config</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">vmware.vapi.bindings.stub.StubConfiguration</span></code>) – Configuration to be used for creating the stub.</p>
<codeclass="sig-name descname">get</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">tier1_id</span></em>, <emclass="sig-param"><spanclass="n">locale_service_id</span></em>, <emclass="sig-param"><spanclass="n">service_id</span></em>, <emclass="sig-param"><spanclass="n">session_id</span></em>, <emclass="sig-param"><spanclass="n">enforcement_point_path</span><spanclass="o">=</span><spanclass="default_value">None</span></em>, <emclass="sig-param"><spanclass="n">segment_path</span><spanclass="o">=</span><spanclass="default_value">None</span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.nsx_policy.infra.tier_1s.locale_services.l2vpn_services.sessions_client.RemoteMac.get"title="Permalink to this definition">¶</a></dt>
<dd><p>Returns L2Vpn session remote macs for a logical switch. Data is fetched
<li><p><strong>enforcement_point_path</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – String Path of the enforcement point (optional)</p></li>
<emclass="property">class </em><codeclass="sig-prename descclassname">com.vmware.nsx_policy.infra.tier_1s.locale_services.l2vpn_services.sessions_client.</code><codeclass="sig-name descname">Statistics</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">config</span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.nsx_policy.infra.tier_1s.locale_services.l2vpn_services.sessions_client.Statistics"title="Permalink to this definition">¶</a></dt>
<ddclass="field-odd"><p><strong>config</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">vmware.vapi.bindings.stub.StubConfiguration</span></code>) – Configuration to be used for creating the stub.</p>
<codeclass="sig-name descname">GET_SOURCE_CACHED</code><emclass="property"> = 'cached'</em><aclass="headerlink"href="#com.vmware.nsx_policy.infra.tier_1s.locale_services.l2vpn_services.sessions_client.Statistics.GET_SOURCE_CACHED"title="Permalink to this definition">¶</a></dt>
<dd><p>Possible value for <codeclass="docutils literal notranslate"><spanclass="pre">source</span></code> of method <aclass="reference internal"href="#com.vmware.nsx_policy.infra.tier_1s.locale_services.l2vpn_services.sessions_client.Statistics.get"title="com.vmware.nsx_policy.infra.tier_1s.locale_services.l2vpn_services.sessions_client.Statistics.get"><codeclass="xref py py-func docutils literal notranslate"><spanclass="pre">Statistics.get()</span></code></a>.</p>
<codeclass="sig-name descname">GET_SOURCE_REALTIME</code><emclass="property"> = 'realtime'</em><aclass="headerlink"href="#com.vmware.nsx_policy.infra.tier_1s.locale_services.l2vpn_services.sessions_client.Statistics.GET_SOURCE_REALTIME"title="Permalink to this definition">¶</a></dt>
<dd><p>Possible value for <codeclass="docutils literal notranslate"><spanclass="pre">source</span></code> of method <aclass="reference internal"href="#com.vmware.nsx_policy.infra.tier_1s.locale_services.l2vpn_services.sessions_client.Statistics.get"title="com.vmware.nsx_policy.infra.tier_1s.locale_services.l2vpn_services.sessions_client.Statistics.get"><codeclass="xref py py-func docutils literal notranslate"><spanclass="pre">Statistics.get()</span></code></a>.</p>
<codeclass="sig-name descname">get</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">tier1_id</span></em>, <emclass="sig-param"><spanclass="n">locale_service_id</span></em>, <emclass="sig-param"><spanclass="n">service_id</span></em>, <emclass="sig-param"><spanclass="n">session_id</span></em>, <emclass="sig-param"><spanclass="n">enforcement_point_path</span><spanclass="o">=</span><spanclass="default_value">None</span></em>, <emclass="sig-param"><spanclass="n">source</span><spanclass="o">=</span><spanclass="default_value">None</span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.nsx_policy.infra.tier_1s.locale_services.l2vpn_services.sessions_client.Statistics.get"title="Permalink to this definition">¶</a></dt>
<li><p><strong>enforcement_point_path</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – String Path of the enforcement point (optional)</p></li>
<li><p><strong>source</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Data source type. (optional)</p></li>
<emclass="property">class </em><codeclass="sig-prename descclassname">com.vmware.nsx_policy.infra.tier_1s.locale_services.l2vpn_services.sessions_client.</code><codeclass="sig-name descname">StubFactory</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">stub_config</span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.nsx_policy.infra.tier_1s.locale_services.l2vpn_services.sessions_client.StubFactory"title="Permalink to this definition">¶</a></dt>