Class PolicyInterfaceOspfConfig.Builder

    • Method Detail

      • setBfdPath

        public PolicyInterfaceOspfConfig.Builder setBfdPath​(java.lang.String bfdPath)
        This filed is valid only if enable_bfd is set to TRUE. If enable_bfd flag is set to TRUE, this profile will be applied to all OSPF peers in this interface. If this field is empty, bfd_path will refer to Tier-0 global BFD profile.
        Parameters:
        bfdPath - New value for the property.
      • setDeadInterval

        public PolicyInterfaceOspfConfig.Builder setDeadInterval​(java.lang.Long deadInterval)
        Specifies the number of seconds that router must wait before it declares a OSPF neighbor router down because it has not received OSPF hello packet. OSPF dead interval should be minimum 3 times greater than the hello interval format: int32
        Parameters:
        deadInterval - New value for the property.
      • setEnableBfd

        public PolicyInterfaceOspfConfig.Builder setEnableBfd​(java.lang.Boolean enableBfd)
        Enable/Disable OSPF to register for BFD event. Use FALSE to disable BFD.
        Parameters:
        enableBfd - New value for the property.
      • setEnabled

        public PolicyInterfaceOspfConfig.Builder setEnabled​(java.lang.Boolean enabled)
        enable/disable OSPF on the interface. If enabled flag not specified, defailt is enable OSPF.
        Parameters:
        enabled - New value for the property.
      • setHelloInterval

        public PolicyInterfaceOspfConfig.Builder setHelloInterval​(java.lang.Long helloInterval)
        Specifies the interval between the hello packets that OSPF sends on this interface. OSPF hello interval should be less than the dead interval format: int32
        Parameters:
        helloInterval - New value for the property.
      • setOspfArea

        public PolicyInterfaceOspfConfig.Builder setOspfArea​(java.lang.String ospfArea)
        Attache Tier0 Interface to specified OSPF Area. all peers.
        Parameters:
        ospfArea - New value for the property.