Summary: | [Open vSwitch] Реализация OVSPatchPort | ||
---|---|---|---|
Product: | Sisyphus | Reporter: | Evgeniy Korneechev <ekorneechev> |
Component: | etcnet | Assignee: | Mikhail Efremov <sem> |
Status: | CLOSED FIXED | QA Contact: | qa-sisyphus |
Severity: | normal | ||
Priority: | P5 | CC: | ldv, rider, sem, shaba, vseleznv |
Version: | unstable | Keywords: | RS |
Hardware: | x86_64 | ||
OS: | Linux |
Description
Evgeniy Korneechev
2021-02-20 15:26:29 MSK
(Ответ для Evgeniy Korneechev на комментарий #0) > Необходимо ввести в etcnet дополнительную переменную - аля OVS_PATCH=yes Для данной реализации сделал патч: # diff create-ovsport~ create-ovsport -u --- create-ovsport~ 2020-11-03 10:42:30.000000000 +0300 +++ create-ovsport 2021-03-02 10:22:14.445808312 +0300 @@ -9,6 +9,8 @@ } iface_is_up $BRIDGE || $SCRIPTDIR/ifup $BRIDGE -iface_exists $NAME || INTERNAL_PORT="-- set interface $NAME type=internal " +iface_exists $NAME || PORT_TYPE="-- set interface $NAME type=internal " -$OVS_VSCTL -t $OVS_VSCTL_TIMEOUT -- --may-exist add-port "$BRIDGE" "$NAME" ${VID+tag=$VID} $OVS_OPTIONS ${OVS_EXTRA+-- $OVS_EXTRA} $INTERNAL_PORT && print_progress +[ -z $OVS_PATCH ] || PORT_TYPE="-- set interface $NAME type=patch " + +$OVS_VSCTL -t $OVS_VSCTL_TIMEOUT -- --may-exist add-port "$BRIDGE" "$NAME" ${VID+tag=$VID} $OVS_OPTIONS ${OVS_EXTRA+-- $OVS_EXTRA} $PORT_TYPE && print_progress etcnet-0.9.22-alt1 -> sisyphus: Fri Feb 11 2022 Alexey Shabalin <shaba@altlinux> 0.9.22-alt1 - ovsport: OVS_PATCH option (Closes: #39708). - ovsport: HOST must be set. - ovsport: BRIDGE must be set. - ovsbond: BRIDGE must be set. - ovsbond: support VLAN id (Closes: #39707). - openvswitch: remove interface before create (Closes: #39709). |