When you want to interconnect 2 OSPF processes in static mode for design requirements or just temporary in a migration scenario you have to instruct routers to not receive routing update information and to not advertize networks to another router.

By default when you start an OSPF process all interfaces of the router send Hello packets to discovery neighborships.
To avoid this you can disable interfaces to participate on OSPF process. it will follow that these interfaces are prohibited from sending and receiving OSPF Packets:
# Huawei
ospf 20 router-id 172.2.2.2
silent-interface GigbitEthernet0/0/2
# Cisco
router ospf 10 vrf Glitch_Lab
passive-interface GigabitEthernet0/0/20
.glitchlist crew