Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 43 for opset (0.25 sec)

  1. cni/pkg/nodeagent/net.go

    	// allow overriding for tests
    	netnsRunner        func(fdable NetnsFd, toRun func() error) error
    	hostsideProbeIPSet ipset.IPSet
    }
    
    var _ MeshDataplane = &NetServer{}
    
    func newNetServer(ztunnelServer ZtunnelServer, podNsMap *podNetnsCache,
    	iptablesConfigurator *iptables.IptablesConfigurator, podNs PodNetnsFinder,
    	probeSet ipset.IPSet,
    ) *NetServer {
    	return &NetServer{
    		ztunnelServer:        ztunnelServer,
    		currentPodSnapshot:   podNsMap,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 05:10:23 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  2. cni/pkg/ipset/nldeps_linux.go

    	err := netlink.IpsetFlush(name)
    	if err != nil {
    		return fmt.Errorf("failed to flush ipset %s: %w", name, err)
    	}
    	return nil
    }
    
    // Alpine and some distros struggles with this - ipset CLI utilities support this, but
    // the kernel can be out of sync with the CLI utility, leading to errors like:
    //
    // ipset v7.10: Argument `comment' is supported in the kernel module of the set type hash:ip
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 30 18:07:05 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  3. cni/pkg/nodeagent/net_test.go

    	ipsetDeps            *ipset.MockedIpsetDeps
    }
    
    func getTestFixure(ctx context.Context) netTestFixture {
    	podNsMap := newPodNetnsCache(openNsTestOverride)
    	nlDeps := &fakeIptablesDeps{}
    	iptablesConfigurator, _ := iptables.NewIptablesConfigurator(nil, &dependencies.DependenciesStub{}, nlDeps)
    
    	ztunnelServer := &fakeZtunnel{}
    
    	fakeIPSetDeps := ipset.FakeNLDeps()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 05:10:23 UTC 2024
    - 17.8K bytes
    - Viewed (0)
  4. pkg/proxy/ipvs/proxier.go

    		ipset:                 ipset,
    		nodePortAddresses:     nodePortAddresses,
    		networkInterfacer:     proxyutil.RealNetwork{},
    		gracefuldeleteManager: NewGracefulTerminationManager(ipvs),
    		logger:                logger,
    	}
    	// initialize ipsetList with all sets we needed
    	proxier.ipsetList = make(map[string]*IPSet)
    	for _, is := range ipsetInfo {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Apr 28 15:51:23 UTC 2024
    - 77.7K bytes
    - Viewed (0)
  5. cni/pkg/nodeagent/server.go

    }
    
    // createHostsideProbeIpset creates an ipset. This is designed to be called from the host netns.
    // Note that if the ipset already exist by name, Create will not return an error.
    //
    // We will unconditionally flush our set before use here, so it shouldn't matter.
    func createHostsideProbeIpset(isV6 bool) (ipset.IPSet, error) {
    	linDeps := ipset.RealNlDeps()
    	probeSet, err := ipset.NewIPSet(iptables.ProbeIPSet, isV6, linDeps)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 21:45:18 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  6. pkg/proxy/ipvs/proxier_test.go

    			}
    		}
    	}
    }
    
    // checkIPSet to check expected ipset and entries
    func checkIPSet(t *testing.T, fp *Proxier, ipSet netlinktest.ExpectedIPSet) {
    	for set, entries := range ipSet {
    		ents, err := fp.ipset.ListEntries(set)
    		if err != nil || len(ents) != len(entries) {
    			t.Errorf("Check ipset entries failed for ipset: %q, expect %d, got %d", set, len(entries), len(ents))
    			continue
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 27 01:31:57 UTC 2024
    - 186.8K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/stablehlo/python/integration_test/stablehlo_quantizer_odml_oss.ipynb

            "    }\n",
            "converter = tf.lite.TFLiteConverter.from_saved_model(saved_model_dir)\n",
            "converter.target_spec.supported_ops = [\n",
            "    tf.lite.OpsSet.SELECT_TF_OPS,  # enable TensorFlow ops.\n",
            "    tf.lite.OpsSet.TFLITE_BUILTINS,  # enable TFL ops.\n",
            "]\n",
            "converter.representative_dataset = calibration_dataset\n",
            "converter.optimizations = [tf.lite.Optimize.DEFAULT]\n",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 12 03:40:43 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  8. releasenotes/notes/51081.yaml

    # - documentation
    area: traffic-management
    
    # releaseNotes is a markdown listing of any user facing changes. This will appear in the
    # release notes.
    releaseNotes:
    - |
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 17 22:34:29 UTC 2024
    - 1K bytes
    - Viewed (0)
  9. cni/pkg/ipset/nldeps_unspecified.go

    // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package ipset
    
    import (
    	"errors"
    	"net/netip"
    )
    
    func RealNlDeps() NetlinkIpsetDeps {
    	return &realDeps{}
    }
    
    type realDeps struct{}
    
    func (m *realDeps) ipsetIPHashCreate(name string, v6 bool) error {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 22:24:38 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  10. cni/pkg/ipset/nldeps_mock.go

    // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package ipset
    
    import (
    	"net/netip"
    
    	"github.com/stretchr/testify/mock"
    )
    
    type MockedIpsetDeps struct {
    	mock.Mock
    }
    
    func FakeNLDeps() *MockedIpsetDeps {
    	return &MockedIpsetDeps{}
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 22:24:38 UTC 2024
    - 1.8K bytes
    - Viewed (0)
Back to top