'get end state info'

def get_end_state(self):

    ospf_info = self.get_ospf_dict()
    if (not ospf_info):
        return
    if ospf_info['interface']:
        self.end_state['interface'] = self.interface
        self.end_state['cost'] = ospf_info['interface'].get('configCost')
        self.end_state['hello_interval'] = ospf_info['interface'].get('helloInterval')
        self.end_state['dead_interval'] = ospf_info['interface'].get('deadInterval')
        self.end_state['silent_interface'] = ospf_info['interface'].get('silentEnable')
        self.end_state['auth_mode'] = ospf_info['interface'].get('authenticationMode')
        self.end_state['auth_text_simple'] = ospf_info['interface'].get('authTextSimple')
        self.end_state['auth_key_id'] = ospf_info['interface'].get('keyId')
        self.end_state['auth_text_md5'] = ospf_info['interface'].get('authTextMd5')
    self.end_state['process_id'] = ospf_info['processId']
    self.end_state['area'] = ospf_info['areaId']
