Uploaded image for project: 'Fast Datapath Product'
  1. Fast Datapath Product
  2. FDP-243

As an OVN operator, I would like to be able to connect to OVS management socket via AF_INET TCP

    • Icon: Story Story
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • None
    • OVN
    • None
    • 5
    • False
    • Hide

      None

      Show
      None
    • False
    • rhel-9
    • None
    • rhel-net-ovn
    • ssg_networking
    • FDP 24.F
    • 1
    • +

      Right now, ovn-controller implies unix: connection scheme. It may be helpful to connect to vswitchd via a proper AF_INET socket, to e.g. avoid file system sharing in cloud-native environments. (The assumption is that these sockets would then be secured by SSL certificates.)

      The relevant code section demonstrating the assumption:

      ofctrl_run(const struct ovsrec_bridge *br_int,
      const struct ovsrec_open_vswitch_table *ovs_table,
      struct shash *pending_ct_zones)
      {
      char *target = xasprintf("unix:%s/%s.mgmt", ovs_rundir(), br_int->name);
      bool reconnected = false;
      if (strcmp(target, rconn_get_target(swconn)))
      { VLOG_INFO("%s: connecting to switch", target); rconn_connect(swconn, target, target); }
       
      

      AFAIU as part of this feature support, connection probing should be enabled for the AF_INET sockets.

              amusil@redhat.com Ales Musil
              ihrachys Ihar Hrachyshka (Inactive)
              Aniss Loughlam Aniss Loughlam
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: