Agility0493 commented on issue #8983:
URL: https://github.com/apache/cloudstack/issues/8983#issuecomment-2083318127

   We were able to remove all netplan errors with the following revisions to 
etc/netplan/01-netcfg.yaml, but networking is still not working after 
rebooting. These changes were based on: 
#https://askubuntu.com/questions/1333570/is-there-a-way-to-create-an-open-vswitch-internal-port-with-netplan
   ~~~
   network:
     version: 2
     openvswitch:
       protocols: [OpenFlow13, OpenFlow14, OpenFlow15]
     ethernets:
       eno1:
         addresses: [<ip-address>/24]
         openvswitch:
           external-ids:
             iface-id: <mac-address>
           other-config:
             disable-in-band: false
     bridges:
       cloudbr:
         interfaces: [eno1]
         openvswitch:
           protocols: [OpenFlow13, OpenFlow14, OpenFlow15]
           controller:
             addresses: [unix:/var/run/openvswitch/ovs0.mgmt]
             connection-mode: out-of-band
           fail-mode: secure
           mcast-snooping: true
           external-ids:
             iface-id: <hostname>
           other-config:
             disable-in-band: true
     vlans:
       mgmt0:
         id:100
         link: cloudbr
         openvswitch: {}
       stor0:
         id:101
         link: cloudbr
         openvswitch: {}
       public0:
         id:500
         link: cloudbr
         openvswitch: {}
       guestpub0:
         id:700
         link: cloudbr
         openvswitch: {}
   ~~~
   
   The output for `sudo ovs-vsctl show`:
   ~~~
   Bridge cloudbr
       Controller: "unix:/var/run/openvswitch/ovs0.mgmt
       fail_mode: secure
       Port cloudbr
          trunks: [100, 101, 500, 600]
          Interface cloudbr
               type: internal
       Port eno1
               Interface eno1
       Port public0
               tag: 500
               Interface public0
                    type: internal
       Port mgmt0
               tag: 100
               Interface: mgtm0
                    type: internal
       Port guestpub0
               tag: 700
               Interface: guestpub0
                    type: internal
       Port stor0
               tag: 101
               Interface store0
                    type: internal
       ovs_version: "2.17.9"
   ~~~
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to